[Webkit-unassigned] [Bug 117337] New: Applied background color is not retained after typing a characters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 7 03:24:54 PDT 2013


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

           Summary: Applied background color is not retained after typing
                    a characters
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cp.sudarshan at gmail.com
                CC: rniwa at webkit.org


HTML content :
<html>
<head>
<script type="text/javascript">
function ChangeTextColor()
{
  document.execCommand("ForeColor", false, "red");  
}

function ChangeTextBack()
{
  document.execCommand("HiliteColor", false, "green");  
}
</script>
</head>
<body contenteditable="true">
<input type="Button" onclick="ChangeTextColor()" value="Font Color" />
<input type="Button" onclick="ChangeTextBack()" value="BackGround Color" />

<div >
Type text here and apply fontcolor and cut and paste two time and apply backcolor and type
</div>
</body>
</html>

Steps to reproduce the issue :
1.select all the text
2.select Font color button
3.select all and cut 
4.paste twice the cut content
5.select all and apply Background color by tapping BackGround color button
6.type text

Expected behavior :
Background color should retain for typing text.

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



More information about the webkit-unassigned mailing list