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

Unified Diff: LayoutTests/media/controls-css-overload.html

Issue 662243003: Use ::-internal-media-controls* instead of ::-webkit-media-controls* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: introduce PseudoInternalCustomElement Created 6 years, 2 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
Index: LayoutTests/media/controls-css-overload.html
diff --git a/LayoutTests/media/controls-css-overload.html b/LayoutTests/media/controls-css-overload.html
index 8ac44b512be2084597b4591421ccdc193aa15266..1252228bbf990dbc30a3a56b435196607e352fec 100644
--- a/LayoutTests/media/controls-css-overload.html
+++ b/LayoutTests/media/controls-css-overload.html
@@ -1,25 +1,14 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-
-<html>
-<head>
- <title>Testing that overloading some controls doesn't crash the browser</title>
- <style>
- .nocontrols::-webkit-media-controls-panel{
- display:none;
- }
- .notimeline::-webkit-media-controls-timeline-container{
- display:none;
- }
- </style>
- <script src=video-test.js></script>
-</head>
-<body>
- <video class="nocontrols" width=300 height=200 controls></video>
- <video class="notimeline" width=300 height=200 controls></video>
- <script>
- consoleWrite("I did not crash");
- endTest();
- </script>
-</body>
-</html>
+<!DOCTYPE html>
+<title>overloading controls CSS doesn't crash</title>
+<style>
+ *::-internal-media-controls {
+ display: inline;
+ }
+ *::-internal-media-controls-panel {
+ display: none;
+ }
+ *::-internal-media-controls-timeline-container {
+ display: none;
+ }
+</style>
+<video controls></video>
« no previous file with comments | « LayoutTests/fullscreen/video-controls-timeline.html ('k') | LayoutTests/media/controls-css-overload-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698