Bug 1531337 [wpt PR 15491] - Remove new lines in the reference for 'white-space: pre' tests, a=testonly
authorGary Katsevman <git@gkatsev.com>
Wed, 06 Mar 2019 12:36:46 +0000
changeset 464675 e7aa2492c4c4
parent 464674 d2e51053fd30
child 464676 7f01c51c8db9
push id35717
push useraciure@mozilla.com
push dateSun, 17 Mar 2019 09:45:26 +0000
treeherdermozilla-central@e0861be8d6c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1531337, 15491
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1531337 [wpt PR 15491] - Remove new lines in the reference for 'white-space: pre' tests, a=testonly Automatic update from web-platform-tests Remove new lines in the reference for 'white-space: pre' tests -- overflow hidden each cue -- Merge pull request #15491 from gkatsev/update-webvtt-white-space-pre-references Remove new lines in the reference for 'white-space: pre' tests -- wpt-commits: 26dcd7d8b72152fdaf4c54a48a6d07c93e579ac2, d0b0e694f77b3fe9509e501f254ce0434f6e7692, fb6ed0e160406ef03834a596d2f217665c7d6d52 wpt-pr: 15491
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/white-space_pre_wrapped-ref.html
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/bold_object/bold_white-space_pre_wrapped-ref.html
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/class_object/class_white-space_pre_wrapped-ref.html
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/italic_object/italic_white-space_pre_wrapped-ref.html
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/underline_object/underline_white-space_pre_wrapped-ref.html
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/voice_object/voice_white-space_pre_wrapped-ref.html
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/white-space_pre_wrapped-ref.html
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/white-space_pre_wrapped-ref.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/white-space_pre_wrapped-ref.html
@@ -13,16 +13,17 @@ body { margin:0 }
 .cue {
     position: absolute;
     bottom: 0;
     left: 30%;
     right: 0;
     width: 40%;
     font-family: sans-serif;
     text-align: center;
+    overflow: hidden;
 }
 .cue > span {
     background: rgba(0,0,0,0.8);
     color: white;
     white-space: pre
 }
 </style>
-<div class="video"><span class="cue"><span>A A  A   A	A	<br>	A		<br>A	A   A  A A</span></span></div>
+<div class="video"><span class="cue"><span>A A  A   A	A		A		A	A   A  A A</span></span></div>
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/bold_object/bold_white-space_pre_wrapped-ref.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/bold_object/bold_white-space_pre_wrapped-ref.html
@@ -12,18 +12,19 @@ body { margin:0 }
 }
 .cue {
     position: absolute;
     bottom: 0;
     left: 25%;
     right: 0;
     width: 50%;
     text-align: center;
+    overflow: hidden;
 }
 .cue > span {
     font-family: sans-serif;
     background: rgba(0,0,0,0.8);
     color: white;
     font-weight: bold;
     white-space: pre
 }
 </style>
-<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely 	will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
+<div class="video"><span class="cue"><span>This is a test subtitle that most likely 	will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/class_object/class_white-space_pre_wrapped-ref.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/class_object/class_white-space_pre_wrapped-ref.html
@@ -12,17 +12,18 @@ body { margin:0 }
 }
 .cue {
     position: absolute;
     bottom: 0;
     left: 25%;
     right: 0;
     width: 50%;
     text-align: center;
+    overflow: hidden;
 }
 .cue > span {
     font-family: sans-serif;
     background: rgba(0,0,0,0.8);
     color: white;
     white-space: pre
 }
 </style>
-<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely 	will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
+<div class="video"><span class="cue"><span>This is a test subtitle that most likely 	will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/italic_object/italic_white-space_pre_wrapped-ref.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/italic_object/italic_white-space_pre_wrapped-ref.html
@@ -12,18 +12,19 @@ body { margin:0 }
 }
 .cue {
     position: absolute;
     bottom: 0;
     left: 25%;
     right: 0;
     width: 50%;
     text-align: center;
+    overflow: hidden;
 }
 .cue > span {
     font-family: sans-serif;
     background: rgba(0,0,0,0.8);
     color: white;
     font-style: italic;
     white-space: pre
 }
 </style>
-<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely 	will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
+<div class="video"><span class="cue"><span>This is a test subtitle that most likely 	will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/underline_object/underline_white-space_pre_wrapped-ref.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/underline_object/underline_white-space_pre_wrapped-ref.html
@@ -12,18 +12,19 @@ body { margin:0 }
 }
 .cue {
     position: absolute;
     bottom: 0;
     left: 25%;
     right: 0;
     width: 50%;
     text-align: center;
+    overflow: hidden;
 }
 .cue > span {
     font-family: sans-serif;
     background: rgba(0,0,0,0.8);
     color: white;
     text-decoration: underline;
     white-space: pre
 }
 </style>
-<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely 	will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
+<div class="video"><span class="cue"><span>This is a test subtitle that most likely 	will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/voice_object/voice_white-space_pre_wrapped-ref.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/voice_object/voice_white-space_pre_wrapped-ref.html
@@ -12,17 +12,18 @@ body { margin:0 }
 }
 .cue {
     position: absolute;
     bottom: 0;
     left: 25%;
     right: 0;
     width: 50%;
     text-align: center;
+    overflow: hidden;
 }
 .cue > span {
     font-family: sans-serif;
     background: rgba(0,0,0,0.8);
     color: white;
     white-space: pre
 }
 </style>
-<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely 	will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
+<div class="video"><span class="cue"><span>This is a test subtitle that most likely 	will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/white-space_pre_wrapped-ref.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/white-space_pre_wrapped-ref.html
@@ -13,16 +13,17 @@ body { margin:0 }
 .cue {
     position: absolute;
     bottom: 0;
     left: 30%;
     right: 0;
     width: 40%;
     font-family: sans-serif;
     text-align: center;
+    overflow: hidden;
 }
 .cue > span {
     background: rgba(0,0,0,0.8);
     color: white;
     white-space: pre
 }
 </style>
-<div class="video"><span class="cue"><span>A A  A   A	A	<br>	A		<br>A	A   A  A A</span></span></div>
+<div class="video"><span class="cue"><span>A A  A   A	A		A		A	A   A  A A</span></span></div>