[Webkit-unassigned] [Bug 24439] New: Outdenting invalid html doesn't work as expected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 6 16:29:57 PST 2009


           Summary: Outdenting invalid html doesn't work as expected
           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: P5
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sullivan at google.com
                CC: eric at webkit.org, jparent at google.com

I came across this by accident, but it works as expected in Firefox so I
thought I'd file it. Definitely low priority, since the html is invalid. Steps
to reproduce:

1. Go to midas demo and enter the following html:
(Note </b> and </i> are in wrong order)
2. Uncheck "View HTML Source" and put the cursor before the 'a'
3. Click "outdent" button.

Actual result:
'a' is moved to next line and empty list item remains. Resulting HTML:
<ul><li><i></i></li></ul><span class="Apple-style-span" style="font-style:
italic; font-weight: bold; ">a</span>

Expected result:
Firefox 3 behavior is really nice. It removes the list and fixes your html:

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