blob: 0aacbda68b210da01da3d1a7a200b50941209093 [file] [log] [blame]
<html>
<head>
<style>
#inspected
{
color: green;
}
</style>
<link rel="stylesheet" href="../styles/resources/selector-line.css" />
<script src="../../inspector-test.js"></script>
<script src="../../elements-test.js"></script>
<script src="../../debugger-test.js"></script>
<script>
function test() {
SourcesTestRunner.waitForScriptSource('selector-line.scss', onSourceMapLoaded);
function onSourceMapLoaded() {
ElementsTestRunner.selectNodeAndWaitForStyles('inspected', step1);
}
function step1() {
ElementsTestRunner.dumpSelectedElementStyles(true);
TestRunner.completeTest();
}
}
</script>
</head>
<body onload="runTest()">
<p>
Tests that selector line is computed correctly regardless of its start column. <a href="https://bugs.webkit.org/show_bug.cgi?id=110732">Bug 110732</a>.
</p>
<div id="container">
<div id="inspected">Text</div>
</div>
</body>
</html>