Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: LayoutTests/media/track/track-css-all-cues.html

Issue 19516002: [WebVTT] Support text-decoration-{text,color,style} on CSS ::cue pseudo-element (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added FIXME with info on 'text-decoration' shorthand Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/media/track/track-css-all-cues-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/track/track-css-all-cues.html
diff --git a/LayoutTests/media/track/track-css-all-cues.html b/LayoutTests/media/track/track-css-all-cues.html
index 725cca1616196c6cf42d0206c721bfc22c24afa4..00178a6b3fce3f0d67016015016260198cb2e420 100644
--- a/LayoutTests/media/track/track-css-all-cues.html
+++ b/LayoutTests/media/track/track-css-all-cues.html
@@ -9,7 +9,15 @@
<style>
- video::cue { color: purple; background-color: lime; }
+ video::cue {
+ color: purple;
+ background-color: lime;
+ /* FIXME: 'text-decoration' shorthand to be handled when available.
+ * See https://chromiumcodereview.appspot.com/19516002 for details. */
+ text-decoration-line: underline;
+ text-decoration-style: dashed;
+ text-decoration-color: cyan;
+ }
</style>
@@ -19,6 +27,9 @@
{
testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).color", "rgb(128, 0, 128)");
testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).backgroundColor", "rgb(0, 255, 0)");
+ testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).textDecorationLine", "underline");
+ testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).textDecorationStyle", "dashed");
+ testExpected("getComputedStyle(textTrackDisplayElement(video, 'cue')).textDecorationColor", "rgb(0, 255, 255)");
endTest();
}
« no previous file with comments | « no previous file | LayoutTests/media/track/track-css-all-cues-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698