[Webkit-unassigned] [Bug 20288] New: editable span with empty text gets optimized away

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 5 05:48:28 PDT 2008


           Summary: editable span with empty text gets optimized away
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bero at arklinux.org

In the following test case:

<div contenteditable="true">
<span contenteditable="false">Enter some text:</span>
<span id="bug">        </span>

The span with id "bug" should be editable - but there is no way to edit it
because it gets optimized away.

Even trying to force it with document.getElementById('bug').focus(); doesn't
trigger any edit action on the span.

Forcing the span to have non-zero width and height with CSS (<span id="bug"
contenteditable="true" style="width: 10cm; height: 10cm;"></span>) doesn't
change anything either.

Adding any non-whitespace text inside the span does help.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list