Open Bug 1275408 Opened 9 years ago Updated 2 years ago

Adapt HTML Tooltip arrow to match anchors close to the viewport

Categories

(DevTools :: General, defect, P3)

defect

Tracking

(firefox49 affected)

Tracking Status
firefox49 --- affected

People

(Reporter: jdescottes, Unassigned)

References

Details

(Whiteboard: [reserve-html])

Attachments

(3 files)

Attached image tooltip-anchor-edge.png (deleted) —
Follow up to Bug 1267401. If a HTML Tooltip is using the arrow style, and its anchor is located near the edge of the viewport and is too small, the tooltip's arrow will not match the anchor. See attachment: the anchor is a 10px wide red square. The goal of this bug is to find an alternate styling that could be used in this kind of situations.
Depends on: 1267401
Whiteboard: [devtools-html] [triage]
Flags: qe-verify+
Priority: -- → P3
QA Contact: alexandra.lucinet
Whiteboard: [devtools-html] [triage] → [devtools-html]
Priority: P3 → P2
Priority: P2 → P1
Attached image tooltip-arrow-event-details.png (deleted) —
Here is an example of the issue in the devtools, with the event-details tooltip.
Helen, do you have any ideas of how we could deal with the tooltip arrow when pointing at something on the edge of the frame? See https://bugzilla.mozilla.org/attachment.cgi?id=8756064 and https://bugzilla.mozilla.org/attachment.cgi?id=8761535 for example of this.
Flags: needinfo?(hholmes)
Attached image preview-edge-of-viewport.png (deleted) —
(In reply to Brian Grinstead [:bgrins] from comment #2) > Helen, do you have any ideas of how we could deal with the tooltip arrow > when pointing at something on the edge of the frame? See > https://bugzilla.mozilla.org/attachment.cgi?id=8756064 and > https://bugzilla.mozilla.org/attachment.cgi?id=8761535 for example of this. I think the most obvious thing to do would be to swap over to some sort of halved style for previews that hug too closely to the viewport.
Flags: needinfo?(hholmes)
Priority: P1 → P3
Whiteboard: [devtools-html] → [reserve-html]
Priority: P3 → P2
Priority: P2 → P3
QA Contact: adalucin → petruta.rasa
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: