[Webkit-unassigned] [Bug 186234] New: Tag ID's can start with a number
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 2 06:56:59 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186234
Bug ID: 186234
Summary: Tag ID's can start with a number
Product: WebKit
Version: Safari 11
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: blake1024 at gmail.com
CC: cdumez at apple.com
Created attachment 341846
--> https://bugs.webkit.org/attachment.cgi?id=341846&action=review
Shows the problem
Steps to reproduce:
Run the attached script.
Actual results:
Displayed:
AAA in red
AAA no color
Expected results:
AAA in red
AAA in blue
Safari doesn't work if a tag's ID is all numeric. The current HTML spec states: "IDs can consist of just digits, start with a digit, start with an underscore, consist of just punctuation, etc."
See: https://www.w3.org/TR/html5/dom.html#element-attrdef-global-id
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180602/652aecac/attachment.html>
More information about the webkit-unassigned
mailing list