Page MenuHomePhabricator

Error popup not red throughout when it appears above the button
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?

When the error popup appears above the Phonos button, the triangle does not have a red background.

It does when the error popup appears below the button.

This is probably the same bug as T318958.

Steps to reproduce problem
  1. Go to https://en.wikipedia.beta.wmflabs.org/wiki/Phonos_Accessibility_Cases
  2. Scroll down such that a grey Phonos button appears just at the bottom of the window (so there is not enough space at the bottom for the error popup to appear)
  3. Click the grey Phonos button, which should cause the error popup to appear above the button

Expected behavior: The error popup has a red background throughout.
Observed behavior: The triangle is white.

Environment

Browser: Firefox 91
Wiki(s): https://en.wikipedia.beta.wmflabs.org Phonos 0.1.0 (3dc8031) 02:11, 21 February 2023.

Screenshots

popup_above.png (368×100 px, 7 KB)

Event Timeline

Change #1358184 had a related patch set uploaded (by Sanskardubey; author: Sanskardubey):

[mediawiki/extensions/Phonos@master] Fix error popup anchor colors when the popup opens above

https://gerrit.wikimedia.org/r/1358184

Change #1358184 merged by jenkins-bot:

[mediawiki/extensions/Phonos@master] Fix error popup anchor colors when the popup opens above

https://gerrit.wikimedia.org/r/1358184