[Webkit-unassigned] [Bug 25086] New: Can't unbold bolded list item when list is surrounded by <b> tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 7 16:44:25 PDT 2009


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

           Summary: Can't unbold bolded list item when list is surrounded by
                    <b> tag
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://www.mozilla.org/editor/midasdemo/
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sullivan at google.com
                CC: eric at webkit.org, jparent at google.com


Steps to reproduce:
1. Go to midas demo: http://www.mozilla.org/editor/midasdemo/
2. Enter the following html:
<b><ul><li><b>a</b></li></ul></b>
3. Uncheck "View HTML Source" and highlight "a".
4. Press Bold button.

Actual result:
On first press of bold button, only inner <b> is removed. No visual change.
Resulting HTML:
<b><ul><li>a</li></ul></b>
On second press of bold button, a font-weight: normal span is applied to the
text. It looks un-bolded, but this adds a lot of cruft to the html:
<b><ul><li><span class="Apple-style-span" style="font-weight:
normal;">a</span></li></ul></b>

Expected result:
<b> tag surrounding list should be removed (this is what Firefox does):
<ul><li>a</li></ul>


-- 
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