[Webkit-unassigned] [Bug 164149] New: Bold text cannot be unbolded when it uses a font weight under 600

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 28 13:56:56 PDT 2016


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

            Bug ID: 164149
           Summary: Bold text cannot be unbolded when it uses a font
                    weight under 600
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: steve at suncitydesign.com
                CC: mmaxfield at apple.com

Created attachment 293207
  --> https://bugs.webkit.org/attachment.cgi?id=293207&action=review
Repro.html

Steps to reproduce:

1. Download attached Repro.html or go to https://jsfiddle.net/sk3bwkgx/
2. Select the bold text inside the red contenteditable region
3. Click the "Toggle Bold" button
4. Notice that the text does not become unbold

It seems like the browser is deciding that since the b/strong tags have a weight closer to normal than bold that the text is already "unbolded" even though visually and semantically that isn't the case. The browser should instead decide whether to unbold something based on the semantic tags involved in the selection.

This can be reproduced in Chrome/Safari/Firefox, but works correctly in IE11/Edge.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161028/5843a0ba/attachment.html>


More information about the webkit-unassigned mailing list