[Webkit-unassigned] [Bug 250831] New: text-decoration-thickness style not being applied to underlines under <a> tags with embedded <ruby> tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 19 03:53:56 PST 2023


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

            Bug ID: 250831
           Summary: text-decoration-thickness style not being applied to
                    underlines under <a> tags with embedded <ruby> tags
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clindsay at gmail.com

Created attachment 464555

  --> https://bugs.webkit.org/attachment.cgi?id=464555&action=review

Xcode project illustrating the issue

As of Safari 16.2 the text-decoration-thickness style no longer seem to affect the underlines of links that contain embedded <ruby> tags. This behavior seems new as of either Safari 16.1 or 16.2.

Steps to Reproduce:
I have attached an Xcode project that reproduces the issue in a simple iOS app. 

1. Open the Xcode project and run it against an iOS 16.2 simulator. This will simply open the file index.html in a WKWebView.
2. Note that the first link (with an embedded ruby in it) appears offset by 20px and in red, showing that the text-underline-offset and text-decoration-color properties are being applied correctly.
3. Note that the first link has the default thickness, showing that the text-decoration-thickness property is not being applied correctly.
4. Note that the second link (without embedded ruby) appears with a thicker underline, showing that the text-decoration-thickness property is being applied.

Now, rerun the Xcode project against an iOS 16.0 simulator. Note that the first link now matches the appearance of the second link, and the text-decoration-thickness property is applied correctly.

Expected Result:
I would expect the underline under the first link to appear as thick as the second link.

Using Xcode Version 14.2 (14C18).

Also reproducible in Safari on Mac: Version 16.2 (18614.3.7.1.5)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230119/a5d94117/attachment.htm>


More information about the webkit-unassigned mailing list