| Index: LayoutTests/inspector/elements/styles/property-ui-location.html
|
| diff --git a/LayoutTests/inspector/elements/styles/property-ui-location.html b/LayoutTests/inspector/elements/styles/property-ui-location.html
|
| deleted file mode 100644
|
| index 66fabd9b6971041218d298b3891ae482c9b2232e..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/elements/styles/property-ui-location.html
|
| +++ /dev/null
|
| @@ -1,54 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/elements-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<link rel="stylesheet" href="resources/empty-background-url.css">
|
| -<style>
|
| -#inspected {
|
| - color: blue;
|
| -}
|
| -</style>
|
| -<style>#inspected { margin: 10px; }
|
| -#inspected {
|
| - font-family: arial;
|
| -}
|
| -/*# sourceURL=source-url.css */
|
| -</style>
|
| -<script>
|
| -function test()
|
| -{
|
| - InspectorTest.waitForScriptSource("source-url.css", onUISourceCodeCreated);
|
| -
|
| - function onUISourceCodeCreated()
|
| - {
|
| - InspectorTest.nodeWithId("inspected", onNodeFound);
|
| - }
|
| -
|
| - function onNodeFound(node)
|
| - {
|
| - InspectorTest.cssModel.getMatchedStylesAsync(node.id, true, false, onMatchedStyles);
|
| - }
|
| -
|
| - function onMatchedStyles(styles)
|
| - {
|
| - var rules = styles.matchedCSSRules;
|
| - for (var rule of rules) {
|
| - var properties = rule.style.allProperties;
|
| - for (var property of properties) {
|
| - if (property.styleBased)
|
| - continue;
|
| - var uiLocation = WebInspector.cssWorkspaceBinding.propertyUILocation(property, true);
|
| - InspectorTest.addResult(String.sprintf("%s -> %s:%d:%d", property.text, uiLocation.uiSourceCode.name(), uiLocation.lineNumber, uiLocation.columnNumber));
|
| - }
|
| - }
|
| - InspectorTest.completeTest();
|
| - }
|
| -}
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>Verifies WebInspector.cssWorkspaceBinding.propertyUILocation functionality</p>
|
| -<div id="inspected"></div>
|
| -</body>
|
| -</html>
|
|
|