[Webkit-unassigned] [Bug 30784] New: WebKit cannot remove nested bold tags
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 26 12:47:49 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30784
Summary: WebKit cannot remove nested bold tags
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P3
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: eric at webkit.org, enrica at apple.com
WebKit fails to remove bold tags from "<b><b>hello</b></b>". Unbold it, and it
produces "<b>hello</b>". Similarly, unbolding "<b><b>hello</b> world</b>"
results in "<b>hello world</b>". We expect to get "hello" and "hello world" in
respective cases. This bug is due to the fact executeToggleStyle compares the
font weight with "bold" but triStateOfStyleInComputedStyle returns the value
700. Since "bold" != "700", triState is false and causes executeToogleStyle to
bold the text instead of removing the bold.
--
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