blob: e01061496dad53506a768993becd078a018e6fa4 [file] [log] [blame] [edit]
<!DOCTYPE html>
<html>
<style>
body { margin: 0; }
</style>
<body>
<a href="#">This</a> is a link.
<a href="#" style="border: 0; background: none;">This</a> is a wiki-style link.
<a href="#" style="background: green;">This</a> is a link with a background.
<a href="#" style="outline: 2px red solid;">This</a> is a link with an outline.
<a href="#" style="border: 2px red solid;">This</a> is a link with borders on all sides.
<a href="#" style="border-radius: 0px;">This</a> is a link with border-radius explicitly set.
<a href="#" style="box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);">This</a> is a link with a box shadow.
<a href="#" style="text-decoration: none; border-bottom: 1px blue solid;">border-bottom link</a>
<a onclick="alert('click!')">This</a> is a JavaScript link.
<a>This</a> link does nothing.
<pre id="results"></pre>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function () {
if (window.internals)
results.textContent = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_EVENT_REGION | internals.LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES);
};
</script>
</body>
</html>