REGRESSION (r224780): Text stroke not applied to video captions.
[WebKit-https.git] / LayoutTests / media / track / track-css-stroke-cues.html
index 45876622b5a5ab1ba885f1837d5aa8d2977ed870..7963aa1c54cb1c1ddb1eee603abc28e5b50dea86 100644 (file)
@@ -9,7 +9,7 @@
 
         <style>
 
-        video::cue { -webkit-text-stroke: 4px black; paint-order: stroke; stroke-linecap: round; stroke-linejoin: round;}
+        video::cue { stroke-width: 4px; stroke-color: black; paint-order: stroke; stroke-linecap: round; stroke-linejoin: round;}
 
         </style>
 
@@ -17,8 +17,8 @@
 
         function seeked()
         {
-            testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).webkitTextStrokeWidth", "4px");
-            testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).webkitTextStrokeColor", "rgb(0, 0, 0)");
+            testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).strokeWidth", "4px");
+            testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).strokeColor", "rgb(0, 0, 0)");
             testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).paintOrder", "stroke");
             testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).strokeLinejoin", "round");
             testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).strokeLinecap", "round");