[Webkit-unassigned] [Bug 24333] New: execCommand('underline') can modify DOM outside of the contentEditable area
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 3 13:48:28 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24333
Summary: execCommand('underline') can modify DOM outside of the
contentEditable area
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: robbyw at google.com
CC: eric at webkit.org, justin.garcia at apple.com,
jparent at google.com
1. Start with the following HTML
<div style="textDecoration: underline"><div id="editable">Text</div></div>
2. Set document.getElementById('editable').contentEditable = true
3. Select Text
4. Ctrl-U (or execCommand('underline')
5. Note that the style for the outer div has changed.
--
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