[Webkit-unassigned] [Bug 60516] Enable casting between CSSPrimitiveValue and FontWeight enum

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 9 17:24:32 PDT 2011


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





--- Comment #6 from Darin Adler <darin at apple.com>  2011-05-09 17:24:33 PST ---
(From update of attachment 92888)
View in context: https://bugs.webkit.org/attachment.cgi?id=92888&action=review

>> Source/WebCore/css/CSSStyleSelector.cpp:-3717
>> -                        return;
> 
> Wait, no, this changes behavior!

The old code returned from the function without doing anything if the identifier was not one of the supported ones. The new code asserts and sets the weight to normal. I don’t think that behavior change is OK.

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