author Emilio Cobos Álvarez <>
Fri, 17 Aug 2018 11:35:15 +0000
changeset 487225 9c08d6d5d6f29b6bd44166cc1054d2f4b31c77d6
parent 487194 d25d4da4aad2c680854931bdde183f0e2f8948c7
permissions -rw-r--r--
Bug 1483882 - Teach IDTracker about Shadow DOM. r=smaug Differential Revision:

<!doctype html>
<p>Should see a green square below</p>
<div id="host"></div>
  // Test absolute URIs inside shadow trees, which behave the same way as just the fragment id.
  host.attachShadow({ mode: "open" }).innerHTML = `
    <svg width="100" height="100">
        <rect fill="lime" id="rect-5" width="100" height="100">
      <use href="${location.href}#rect-5" />