[Bug 25244] New: What do Attr objects serialize?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25244

            Bug ID: 25244
           Summary: What do Attr objects serialize?
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM Parsing and Serialization
          Assignee: travil@microsoft.com
          Reporter: travil@microsoft.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

For XMLSerializer.serializeToString--

In IE, these serialize the Attr's value only

In Firefox, these serialize the empty string all the time

It usually does not make sense to serialize an Attr object on its own, and it
certainly wouldn't constitute a well-formed internal general parsed entity.

So, make the spec return the empty string (or throw) on a serialization of this
object type.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 3 April 2014 07:20:22 UTC