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

Unified Diff: LayoutTests/fast/media/mq-transition.html

Issue 15001026: Deprecate the unofficial -webkit-transition media feature (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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/fast/media/mq-transition.html
diff --git a/LayoutTests/fast/media/mq-transition.html b/LayoutTests/fast/media/mq-transition.html
index 28ba01920fabc490bbf877052476bb9489b4c864..fa266ab454b37de202b7fec4163302e4cdb2ee47 100644
--- a/LayoutTests/fast/media/mq-transition.html
+++ b/LayoutTests/fast/media/mq-transition.html
@@ -3,20 +3,36 @@
<title>CSS3 media query test: media query testing transition feature.</title>
<link rel="help" href="http://www.webkit.org/specs/MediaQueriesExtensions.html" />
<style type="text/css">
-@media (-webkit-transition) {
+@media (transition) {
#a { color: green }
}
-@media (-webkit-transition: 1) {
+@media (transition: 1) {
#b { color: green }
}
#c { color: green; }
-@media (-webkit-transition: 0) {
+@media (transition: 0) {
#c { color: red }
-}</style>
+}
+
+@media (-webkit-transition) {
+#d { color: green }
+}
+@media (-webkit-transition: 1) {
+#e { color: green }
+}
+#f { color: green; }
+@media (-webkit-transition: 0) {
+#f { color: red }
+}
+
+</style>
</head>
<body>
<p id="a">This text should be green if running in a build of WebKit with transitions.</p>
<p id="b">This text should be green if running in a build of WebKit with transitions.</p>
<p id="c">This text should be green if running in a build of WebKit with transitions.</p>
+ <p id="d">This text should be green if running in a build of WebKit with transitions.</p>
+ <p id="e">This text should be green if running in a build of WebKit with transitions.</p>
+ <p id="f">This text should be green if running in a build of WebKit with transitions.</p>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/media/mq-transition-expected.html » ('j') | Source/core/css/MediaQueryEvaluator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698