blob: 9f8983b0ae8bf2083e17ac435119e76202059ac3 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(async function() {
TestRunner.addResult(`Tests that elements panel shows proper inline style locations in the sidebar panel.\n`);
await TestRunner.loadModule('elements_test_runner');
await TestRunner.showPanel('elements');
await TestRunner.navigatePromise('resources/styles-source-lines-inline-helper.html');
ElementsTestRunner.selectNodeAndWaitForStyles('foo', step2);
function step2() {
ElementsTestRunner.dumpSelectedElementStyles(true, false, true);
TestRunner.completeTest();
}
})();