Closed Bug 1025873 Opened 10 years ago Closed 10 months ago

Strange behavior after wrapping elements into a dropdown box

Categories

(Firefox :: Translations, defect)

33 Branch
All
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bmaris, Unassigned)

Details

Attachments

(1 file)

STR:
1. Start latest Nightly.
2. Change value of prefs 'browser.translation.detectLanguage' and 'browser.translation.ui.show' to 'true'.
3. Visit http://ru.wikipedia.org and hit Translate.
4. Set Firefox on half screen. Until a dropdown appears in the left of search field from webpage)

Expected result: All the necessary elements are hidden in a block.

Actual result: Elements are hidden in a dropdown block but the menubar containing those elements are jumping up and down.

Notes:
1. Screencast showing the issue attached.
2. Browser console:
"XUL box for hbox element contained an inline span child, forcing all its children to be wrapped in a block." 
highlighter.js - Line 584, Col 1:
    infobarContainer.appendChild(infobarPositioner);
- this warning appears when I open the Inspector.
3. The jumping only happens on Ubuntu, on Mac and Windows after the translation, the menu elements are not forced into a dropdown block at all (same warning in console though).
Sounds like an issue with the website. Maybe it's triggered by the fact that we are displaying a string that is longer/shorter than the original one?
Severity: normal → S3

I no longer reproduce.

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: