[Webkit-unassigned] [Bug 275699] New: Baseline at span is shifted inside the <strong> tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 20 11:10:51 PDT 2024


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

            Bug ID: 275699
           Summary: Baseline at span is shifted inside the <strong> tag
           Product: WebKit
           Version: Safari 17
          Hardware: iPhone / iPad
                OS: iOS 17
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: angel-go at mail.ru
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 471713

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

example of baseline shifting in <strong> tag

Since iOS 17.4, I've noticed that the baseline of the text shifts down if the text is wrapped in a span tag while inside a <strong> tag


A simple example where I noticed a bug:

<p>
  <strong>Lorem ipsum, <span>dolor sit amet</span> consectetur adipisicing elit.</strong> Aliquam, odio!
</p>

<style>
  p {
    font: 17px/25px Charter, "Times New Roman";
  }

  strong {
    font: bold 16px/25px Graphik LC Web;
  }
</style>



With different fonts the offset can be larger or smaller, however the problem is not reproduced in earlier versions of iOS before 17.4.
On the webkit blog in release notes 17.4 https://webkit.org/blog/15063/webkit-features-in-safari-17-4/#css it says that the new inline layout engine is being finalized, I think these are related things

-- 
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/20240620/a3ec7f59/attachment.htm>


More information about the webkit-unassigned mailing list