[Webkit-unassigned] [Bug 53465] New: Can't remove underline or strike through when selection includes horizontal rule

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 31 17:57:35 PST 2011


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

           Summary: Can't remove underline or strike through when
                    selection includes horizontal rule
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: emerick at gmail.com


When the current selection includes a horizontal rule and underlined|strike-through text, it's impossible to remove the underlined|strike-through style.  For example, if the selection contains the following:

<hr><u>foo</u>

it's impossible to remove the underline by running execCommand('underline').  In EditorCommand::executeToggleStyleInList(), selectedCSSValue->cssText() returns "none" in this scenario, which causes this method to think it needs to toggle the style on.  It seems that selectedCSSValue->cssText() should be returning "underline" instead.

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