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> |