Fix class_white-space_[normal|pre-line]_wrapped.html wpt/webvtt tests
These tests are using "white" videos and the rendering is not actually "white" (the CSS color) used in ref test. Also the ref test has the font property (sans-serif) applied to the inner span, so we get a different font for the other span - that font has slightly different metrics (even though it's still 9px), so over the whole line this ends up yielding an "extra pixel" in height. Fixed the ref tests to use the actual <video> element instead of white background <div>, and also fixed the font size issue by applying font family to parent <span> element. BUG=930608, 626703 Change-Id: I44c33a8cda08aff2e8b84f2542cc504866bd4c10 Reviewed-on: https://chromium-review.googlesource.com/c/1485628Reviewed-by:Fredrik Söderquist <fs@opera.com> Commit-Queue: srirama chandra sekhar <srirama.m@samsung.com> Cr-Commit-Position: refs/heads/master@{#635450}
Showing
Please register or sign in to comment