[Bug 27552] New: Make execCommand("InsertImage", false, "") insert an img element with no src attribute

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

            Bug ID: 27552
           Summary: Make execCommand("InsertImage", false, "") insert an
                    img element with no src attribute
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Editing APIs
          Assignee: ayg@aryeh.name
          Reporter: philipj@opera.com
        QA Contact: sideshowbarker+html-editing-api@gmail.com
                CC: mike@w3.org, public-webapps@w3.org

The spec currently says to return false and do nothing if value is the empty
string.

This isn't what IE and Blink do. IE inserts an img with no src attribute and
returns true. Blink inserts an img with src="" and returns true.

I would like to align Blink with IE's behavior, always returning false seems
like a riskier change with no obvious upside.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 10 December 2014 10:54:15 UTC