Bug 217416

Summary: Web Inspector: REGRESSION(r265231): Overlay: node info sometimes draws on one line
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Patrick Angle <pangle>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, ews-watchlist, hi, inspector-bugzilla-changes, joepeck, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Image] screenshot of issue
none
Patch
none
As patched in attachment 411751 none

Description Devin Rousso 2020-10-06 17:30:00 PDT
Created attachment 410717 [details]
[Image] screenshot of issue

# STEPS TO REPRODUCE
1. inspect <https://devinrousso.com/share>
2. delete all child nodes of the `<head>` and `<body>` (i.e. make the page look like `about:blank` but without actually navigating to it)
3. add the following to the `<body>`:
```
    <img src="https://devinrousso.com/projects/Dots/Dots.png">
```
4. hover over the node added in step (3) in the Elements Tab

# EXPECTED
the node info should show

    +-------------------+
    | img 200px × 200px |
    | Role img          |
    +-------------------+


# ACTUAL
the node info incorrectly show

    +-------------------+
    | img 200px × 200px Role img
    |                   |
    +-------------------+

(with the "R" overlapping the right border)
Comment 1 Radar WebKit Bug Importer 2020-10-06 17:30:24 PDT
<rdar://problem/70025282>
Comment 2 Patrick Angle 2020-10-19 09:35:19 PDT
Created attachment 411751 [details]
Patch
Comment 3 Patrick Angle 2020-10-19 09:39:08 PDT
Created attachment 411752 [details]
As patched in attachment 411751 [details]
Comment 4 BJ Burg 2020-10-19 10:28:01 PDT
Comment on attachment 411751 [details]
Patch

r=me
Comment 5 EWS 2020-10-19 12:04:18 PDT
Committed r268680: <https://trac.webkit.org/changeset/268680>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 411751 [details].