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

Unified Diff: third_party/WebKit/LayoutTests/media/deprecated-css-selectors.html

Issue 2628923006: Deprecate all -internal-media-controls-* currently expose to web contents. (Closed)
Patch Set: fix rebase Created 3 years, 11 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 | third_party/WebKit/LayoutTests/media/deprecated-css-selectors-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/deprecated-css-selectors.html
diff --git a/third_party/WebKit/LayoutTests/media/deprecated-css-selectors.html b/third_party/WebKit/LayoutTests/media/deprecated-css-selectors.html
new file mode 100644
index 0000000000000000000000000000000000000000..2624a2be69b1c1197f56edcb55fdeb9d7d5ee435
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/media/deprecated-css-selectors.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<title>Test that -internal-media-controls-* deprecated selectors throw a warning</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<style>
+video::-internal-media-controls-cast-button,
+video::-internal-media-controls-overlay-cast-button,
+video::-internal-media-controls-text-track-list,
+video::-internal-media-controls-text-track-list-item,
+video::-internal-media-controls-text-track-list-item-input,
+video::-internal-media-controls-text-track-list-kind-captions,
+video::-internal-media-controls-text-track-list-kind-subtitles {
+ background-color: blue;
+}
+</style>
+<video controls></video>
+<script>
+test(() => {
+ // Doing nothing, we just want to check the warnings.
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/deprecated-css-selectors-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698