allow using fragment identifier in css url.

this target the case of SVG properties in CSS.
example:
```css
.elm {
  mask: url(#localstyle);
}
```
since the URL contains only a hash tag, this means that the URL references an element in the document. so URL rewrite is not supposed to alter it.