| Summary: | Tag ID's can start with a number | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Blake McBride <blake1024> | ||||
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED INVALID | ||||||
| Severity: | Normal | CC: | cdumez | ||||
| Priority: | P2 | ||||||
| Version: | Safari 11 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Blake McBride
2018-06-02 06:56:59 PDT
HTML specification is not applicable to CSS selectors. Per the CSS specification: an all-numeric id should be escaped, see https://www.w3.org/International/questions/qa-escapes#css_identifiers However, if you change the CSS selector to #\222 it still doesn't work. I now see that \2 is not a "2"... It should be #\32 22 as you can see in the examples of CSS escaping linked above. |