blob: 24076fa33e25198c322c4d792d3b6cd11cc66c8d [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 XSL-transformed documents in the main frame are rendered correctly in the Elements panel.
https://bugs.webkit.org/show_bug.cgi?id=111313`);
await TestRunner.loadModule('elements_test_runner');
await TestRunner.showPanel('elements');
await TestRunner.navigatePromise('../styles/resources/xsl-transformed.xml');
ElementsTestRunner.expandElementsTree(step2);
function step2() {
ElementsTestRunner.dumpElementsTree();
TestRunner.completeTest();
}
})();