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

Side by Side Diff: LayoutTests/inspector/elements/styles/mixed-case-color-aware-properties.html

Issue 376803002: [DevTools] Color values should be case insensitive while suggestions should be case aware (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/elements-test.js"></script>
5 <script>
6
7 function test()
8 {
9 var colorAwareProperties = ["bAckground-ColoR", "COloR", "Border-coLoR", "bo rder-right-color", "BOX-SHADOW"];
10 for (var i = 0; i < colorAwareProperties.length; ++i) {
11 var isColorAware = WebInspector.CSSMetadata.isColorAwareProperty(colorAw areProperties[i]);
12 InspectorTest.addResult(colorAwareProperties[i] + (isColorAware ? " is" : " is NOT") + " color aware");
13 }
14 InspectorTest.completeTest();
15 }
16 </script>
17 </head>
18
19 <body onload="runTest()">
20 <p>
21 Tests that color-related mix-cased CSS properties are actually color aware.
22 </p>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698