[Webkit-unassigned] [Bug 20215] execCommand('underline') can't remove <U> underlines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 15 13:31:42 PST 2009


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #1 from eric at webkit.org  2009-01-15 13:31 PDT -------
Ahha!

bool ApplyStyleCommand::isHTMLStyleNode(CSSMutableStyleDeclaration *style,
HTMLElement *elem)
{
    CSSMutableStyleDeclaration::const_iterator end = style->end();
    for (CSSMutableStyleDeclaration::const_iterator it = style->begin(); it !=
end; ++it) {
        switch ((*it).id()) {
            case CSSPropertyFontWeight:
                if (elem->hasLocalName(bTag))
                    return true;
                break;
            case CSSPropertyFontStyle:
                if (elem->hasLocalName(iTag))
                    return true;
        }
    }

    return false;
}


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