Skip to content

Commit

Permalink
test: End-to-end WebVTT layout tests (shaka-project#4935)
Browse files Browse the repository at this point in the history
Many of these are rendered incorrectly in some way.

This PR contains only the tests, but not the screenshots, to make the
tests easier to review. The screenshots will appear in a separate PR.

Related to work on PR shaka-project#4767
  • Loading branch information
joeyparrish authored Jan 26, 2023
1 parent 1bba2c5 commit 7c4ed53
Show file tree
Hide file tree
Showing 2 changed files with 544 additions and 0 deletions.
33 changes: 33 additions & 0 deletions test/test/assets/screenshots/review.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,39 @@
'region-with-display-alignment',
'line-alignment',
],
'webvtt': [
'align-center',
'align-center-long',
'align-center-position-50',
'align-center-position-90',
'align-center-position-10',
'align-center-position-10-size-10',
'align-end',
'align-end-long',
'align-start',
'align-start-long',
'align-position-line',
'size-50',
'line-negative-2',
'line-0',
'line-1',
'line-50',
'bold-long',
'italic-long',
'underline-long',
'escaped-entities',
'white-spaces',
'embedded-styles',
'voices',
'voices-with-styles',
'classes',
'classes-with-styles',
'region-no-anchors',
'region-anchor-top-center',
'region-anchor-top-left',
'region-complex-anchors',
'region-2-lines-scroll-up',
],
};

const prefixes = [
Expand Down
Loading

0 comments on commit 7c4ed53

Please sign in to comment.