[wpt-sync] Sync PR 15549 - Fix class_white-space_[normal|pre-line]_wrapped.html wpt/webvtt tests
Categories
(Core :: Audio/Video: Playback, enhancement, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 15549 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/15549
Details from upstream follow.
Sriram <srirama.m@samsung.com> wrote:
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/1485628
WPT-Export-Revision: 8d1a4963ddb9e4b9d15e97b39a6b47b5293582a7
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
| bugherder | ||
Description
•