[Webkit-unassigned] [Bug 133796] ASSERT_NOT_REACHED() in WebCore::fontWeightIsBold

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 12 13:14:53 PDT 2014


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





--- Comment #7 from Ryosuke Niwa <rniwa at webkit.org>  2014-06-12 13:15:16 PST ---
(From update of attachment 232953)
View in context: https://bugs.webkit.org/attachment.cgi?id=232953&action=review

> Source/WebCore/editing/EditingStyle.cpp:1556
> +    return !(value == CSSValueLighter || value == CSSValueBolder);

I'd prefer putting CSSValueLighter and CSSValueBolder into fontWeightIsBold instead for now.
It would be incorrect in the case where lighter still results in bolded text or bolder resulting in "light" text
but that's probably better than not handling them correctly at all.

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