[Webkit-unassigned] [Bug 254923] Web Inspector: REGRESSION(257050 at main) Right divider of async boundary in call stack is "..." instead of a line

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 17 17:13:06 PDT 2023


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

--- Comment #9 from zalan <zalan at apple.com> ---
It looks like WebInspector was relying on a bug in legacy inline layout which got progressed with IFC (257050 at main). -and now we match both Chrome and Firefox.
<style>
.container {
  width: 500px;
  border: 1px solid green;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 20px;
  white-space: nowrap;
}

.inline_block {
  width: 100%;
  display: inline-block;
  height: 0;
  border-bottom: solid;
}
</style>
<div class=container>text<div class=inline_block></div></div>

^^ this is the reduced test case of async-strack--.. 

What WI is essentially telling layout here is

1, use a fixed width container for my content (width: 500px)
2, please do not wrap my content (white-space: no wrap)
3. If some of my content overflows, please use ellipsis to indicate overflow

now I am going to fill this container with:
1, some text content (text)
2, and an inline level box (<div>)
and please stretch this inline level box as wide as the container is (width: 100%)

^^ always leads to overflow in the inline direction and we gonna truncate the inline content and replace it with ellipsis. 
(while legacy line layout simply ignores this overflow).

Not sure what the following line means
/* Disabling either of these causes the trailing line to appear, but Web Inspector expects this to work. */
but restoring the rendering of the broken behavior could be achieved simply by not adding “text-overflow: ellipsis” and just let overflow: hidden do its clipping.
(text-overflow is a misleading name as it kicks in on any overflowing inline content and not just on text)

-- 
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/20230518/430300f9/attachment.htm>


More information about the webkit-unassigned mailing list