blob: 955496c73b21baccc88074d45d371eb57662d24f [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 invalid rule inside @-rule doesn't break source code matching (http://crbug.com/317499).\n`);
await TestRunner.loadModule('elements_test_runner');
await TestRunner.showPanel('elements');
await TestRunner.navigatePromise('resources/styles-source-lines-recovery-helper.html');
ElementsTestRunner.selectNodeAndWaitForStyles('main', step1);
function step1() {
ElementsTestRunner.dumpSelectedElementStyles(true, false, true);
TestRunner.completeTest();
}
})();