[Webkit-unassigned] [Bug 214632] New: Incorrect baseline calculation for inline-block element with overflow value other than 'visible'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 22 02:32:41 PDT 2020


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

            Bug ID: 214632
           Summary: Incorrect baseline calculation for inline-block
                    element with overflow value other than 'visible'
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rv.maksim at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 404910

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

How code looks in Safari

Specification

https://www.w3.org/TR/CSS2/visudet.html#leading
> The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge.

Code which reproduce the problem:

```
 <style>
   #foo {
     display: inline-block;
     background-color: magenta;
     overflow: hidden;
   }
 </style>
 <div id="app">
      <span>Hello</span>
      <span id="foo">World</span>
 </div>

```

Link on an example:
https://6w6ib.csb.app/

-- 
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/20200722/8750b69d/attachment.htm>


More information about the webkit-unassigned mailing list