Bug 142659 - Web Inspector: Inline errors on neighboring lines may collide if expandable
Summary: Web Inspector: Inline errors on neighboring lines may collide if expandable
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-13 00:13 PDT by Joseph Pecoraro
Modified: 2016-12-13 15:39 PST (History)
4 users (show)

See Also:


Attachments
[IMAGE] Issue - Overlapping Errors/Warnings (63.85 KB, image/png)
2015-03-13 00:18 PDT, Joseph Pecoraro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2015-03-13 00:13:32 PDT
* SUMMARY
Inline errors on neighboring lines may collide if expandable.

* TEST
<script>
console.error("really really long error message that will need to be expanded");
console.warn("warning will collide");
</script>

* STEPS TO REPRODUCE
1. Inspect test case.
2. Jump to error
3. Click to expand truncated error message
  => overlap between the expanded error hanging under line 1 and the warning on line 2
Comment 1 Radar WebKit Bug Importer 2015-03-13 00:13:53 PDT
<rdar://problem/20149912>
Comment 2 Joseph Pecoraro 2015-03-13 00:17:16 PDT
I knew about this issue, but I don't consider it that important to fix yet. I don't think it is a common case to have errors on adjacent lines. I also don't think it will be common to need to expand errors (truncation, or multiple errors on a line).

I think until this is actually seen in real content, or if it becomes an issue with more frequent inline warnings (lint messages) it is low priority.

I don't know what the ideal behavior would be here anyways.

  - We could just switch to a pop-over, but I don't think that is as nice.
  - We could check for overlaps and also expand the other inline error/warning, etc.
Comment 3 Joseph Pecoraro 2015-03-13 00:18:16 PDT
Created attachment 248574 [details]
[IMAGE] Issue - Overlapping Errors/Warnings