[Webkit-unassigned] [Bug 153112] New: createAttribute should lowercase the attribute name in a HTML document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 14 16:06:15 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153112

            Bug ID: 153112
           Summary: createAttribute should lowercase the attribute name in
                    a HTML document
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org

Implement step 2 in: https://dom.spec.whatwg.org/#dom-document-createattribute

The createAttribute(localName) method, when invoked, must run these steps:

1. If localName does not match the Name production in XML, throw an InvalidCharacterError exception.
2. If the context object is an HTML document, let localName be converted to ASCII lowercase.
3. Return a new attribute whose local name is localName.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160115/c9a25eea/attachment.html>


More information about the webkit-unassigned mailing list