Revision 210e5bc8e07cb74096b2f8e4c0fa0d75d463d4f4 authored by Geoffrey Sneddon on 24 March 2018, 14:57:11 UTC, committed by Geoffrey Sneddon on 04 April 2018, 22:04:16 UTC
This is as much in lieu of documentation of the format as anything
1 parent bc209c3
webkit-text-fill-color-property-003-ref.html
<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>webkit-text-fill-color on ::-moz-selection selected text reference</title>
<link rel="author" title="Jeremy Chen" href="jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<style>
::-moz-selection {
color: green; background: skyblue;
}
::selection {
color: green; background: skyblue;
}
</style>
<body onload="onload()">
<p>Pass if color of <span id="selectMe">selected text</span> is green!!!</p>
<script type="text/javascript">
function onload() {
var elt = document.getElementById("selectMe");
var range = document.createRange();
range.selectNode(elt);
window.getSelection().removeAllRanges();
window.getSelection().addRange(range);
document.documentElement.classList.remove('reftest-wait');
}
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...