WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
254923
Web Inspector: REGRESSION(
257050@main
) Right divider of async boundary in call stack is "..." instead of a line
https://bugs.webkit.org/show_bug.cgi?id=254923
Summary
Web Inspector: REGRESSION(257050@main) Right divider of async boundary in cal...
Devin Rousso
Reported
2023-04-03 09:46:40 PDT
Created
attachment 465747
[details]
[Image] screen shot of issue .
Attachments
[Image] screen shot of issue
(21.79 KB, image/png)
2023-04-03 09:46 PDT
,
Devin Rousso
no flags
Details
Screenshot of overflowing ::after pseudo
(780.26 KB, image/png)
2023-05-12 17:48 PDT
,
Tim Nguyen (:ntim)
no flags
Details
Reduced testcase
(166 bytes, text/html)
2023-05-12 17:55 PDT
,
Tim Nguyen (:ntim)
no flags
Details
Test case (no pseudo)
(233 bytes, text/html)
2023-05-12 18:53 PDT
,
zalan
no flags
Details
Test reduction
(1.37 KB, text/html)
2023-05-18 08:56 PDT
,
zalan
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-04-03 09:59:33 PDT
<
rdar://problem/107562836
>
Smoley
Comment 2
2023-04-04 09:39:26 PDT
Hey Devin, thanks for filing. Can you link to a test case for easy repro of this issue? Thanks.
Devin Rousso
Comment 3
2023-04-04 17:15:07 PDT
1. open Web Inspector on any page 2. evaluate the following the console ``` setTimeout(() => { debugger; }) ```
Tim Nguyen (:ntim)
Comment 4
2023-05-12 17:48:15 PDT
Created
attachment 466339
[details]
Screenshot of overflowing ::after pseudo
Tim Nguyen (:ntim)
Comment 5
2023-05-12 17:55:10 PDT
Created
attachment 466340
[details]
Reduced testcase
Tim Nguyen (:ntim)
Comment 6
2023-05-12 17:57:04 PDT
The attached reduction behaves differently across browsers: - Firefox: (blank output) - Chrome: • - Safari: • …
zalan
Comment 7
2023-05-12 18:46:29 PDT
Both Chrome and Firefox wrap the inline-block to the next line.
zalan
Comment 8
2023-05-12 18:53:24 PDT
Created
attachment 466342
[details]
Test case (no pseudo)
zalan
Comment 9
2023-05-17 17:13:06 PDT
It looks like WebInspector was relying on a bug in legacy inline layout which got progressed with IFC (
257050@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)
zalan
Comment 10
2023-05-18 08:56:49 PDT
Created
attachment 466401
[details]
Test reduction This is the original test reduction (credit to Patrick A). This shows the progression mentioned at comment
https://bugs.webkit.org/show_bug.cgi?id=254923#c9
. Both Tim's and my followup test reductions are "too reduced". Will file a new bug for them.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug