blob: a2388ed4acb54da4f30cf31cb8433c9a783b7b6e [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 proper source lines are reported for the parsed styles.\n`);
await TestRunner.loadModule('elements_test_runner');
await TestRunner.showPanel('elements');
await TestRunner.navigatePromise('resources/styles-source-lines-helper.html');
ElementsTestRunner.selectNodeAndWaitForStyles('main', step1);
async function step1() {
await ElementsTestRunner.dumpSelectedElementStyles(true, false, true);
TestRunner.completeTest();
}
})();