Closed Bug 1695043 Opened 3 years ago Closed 3 years ago

Add automated tests for tooltip 'position' and 'anchortoclosest' attributes

Categories

(Core :: XUL, task, P5)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jaws, Assigned: enndeakin)

References

Details

(Keywords: helpwanted, Whiteboard: [proton-tooltips])

Follow-up from bug 1665390. Tooltips now support the position and anchortoclosest attributes.

position follows the XUL panel position attribute behavior
anchortoclosest accepts a CSS Selector and anchors the popup to the closest ancestor element in the DOM tree that matches the provided selector.

Example markup:
<tooltip position="after_start" anchortoclosest="tab"/>

Component: Bookmarks & History → XUL
Product: Firefox → Core
Priority: P3 → P5
No longer blocks: proton-tabs-bar
Whiteboard: [proton-tabs-bar] → [proton-tooltips]

The change in bug 1696214 has a test for positioned tooltips, and removes the need for these attributes.

Depends on: 1696214

Assigning to me for now.

Assignee: nobody → enndeakin
Status: NEW → ASSIGNED

These attributes were removed so no test is needed anymore.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.