target selector does not work ? $("p:target")

target selector does not work ? $("p:target")

I tried your example for the target selector, and it does not work with Chrome 23.0.1271.97 (under Xubuntu 12.10 64 bits)

for a <p id="foo"></p> into my page,
the $("p:target").length has the value 0

Works Firefox, but not with Chrome.
Test was made with Ubuntu - Chrome version 23.0.1271.97


The full sample :
  1. <!doctype html>
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>jQuery target selector test</title>
    <script type="text/javascript" src="jquery-uncompressed.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    alert($("p:target").length);
    alert(window.location.hash);
    });
    </script>
    </head>
    <body>

    <p id="foo">
    foo text
    </p>

    </body>
    </html>
With Firefox, two alerts : "1" and "#foo". Seems to work well.
With Chrome, two alerts : "0" and "#foo". Seems it does not work.