DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (b6d82b1a6b02)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<!doctype html>
<meta charset="utf-8">
<link rel="author" title="Markus Stange" href="mailto:mstange@themasta.com">
<link rel="help" href="https://drafts.csswg.org/css-display/#box-generation">
<title>Bug 1338678 - display:contents makes textContent disappear</title>
<div style="display: contents">
  <div id="element"></div>
</div>
<script>
window.onload = function() {
  document.body.offsetTop;
  var element = document.getElementById('element');
  element.textContent = "FAIL";
  element.textContent = "PASS";
}
</script>