testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/track-cue-rendering-line-doesnt-fit-ref.html
author Sriram <srirama.m@samsung.com>
Wed, 06 Mar 2019 10:35:22 +0000
changeset 464608 d472b88c048c8b5ad7a04c2ac66d48e142cb0702
parent 464361 66b1aba3fb4372ec47986e728b1da9b32dd3d368
permissions -rw-r--r--
Bug 1528919 [wpt PR 15458] - Remove default padding for cue text rendering, a=testonly Automatic update from web-platform-tests Remove default padding for cue text rendering Per spec there is no default padding for text track cue rendering. Removing the default padding for cue text. BUG=930608, 843136 Change-Id: If931c1faff528a87d8a78808f30225ebe2377072 Reviewed-on: https://chromium-review.googlesource.com/c/1475567 Commit-Queue: srirama chandra sekhar <srirama.m@samsung.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#633624} -- wpt-commits: a51d2e77614c6baff6c42b02ecd4915b19c020b2 wpt-pr: 15458

<!DOCTYPE html>
<html class="reftest-wait">
<script src="/common/reftest-wait.js"></script>
<style>
.container {
  position: relative;
  display: inline-block;
  width: 320px;
  height: 240px;
}
.cue {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}
.cue > span {
  font-family: sans-serif;
  background: green;
  color: green;
  font-size: 120px;
}
</style>
<div class="container">
  <video autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
    <source src="/media/white.webm" type="video/webm">
    <source src="/media/white.mp4" type="video/mp4">
  </video>
  <div class="cue"><span>PAS</span></div>
</div>