Page MenuHomePhabricator

Footnotes overflow in infoboxes
Closed, InvalidPublic

Description

Footnote links overflow infobox border in latest Chrome. Seems its cause by css style unicode-bidi: isolate; on sup.reference. Can wee add display: inline-block; on sup.reference to solve this problem?

Examples:
https://ru.wikipedia.org/wiki/Спинрад,_Норман
https://ru.wikipedia.org/wiki/Хингис,_Мартина
https://ru.wikipedia.org/wiki/Сугияма,_Ай

Actual behavior: words not wrapping.

actual.png (664×340 px, 99 KB)

Expected behavior: words wrapping.

expected.png (699×306 px, 94 KB)

Event Timeline

Izno subscribed.

Module:Infocards sets class=nowrap on that element, which has whitespace: nowrap from common.css. The elements are not wrapping accordingly.

Maybe you shouldn't do that, or change what is nowrapped? :)

@Izno, please check one more time, where nowrap class is implemented: <nowrap>date</nowrap><footnotes> <nowrap>age</nowrap>. Normal space character separates these two pieces and should wrap. Even if there was nowrap on the entire container, then the infobox would be stretched wide, not overflow.

@Izno, please check one more time, where nowrap class is implemented: <nowrap>date</nowrap><footnotes> <nowrap>age</nowrap>. Normal space character separates these two pieces and should wrap.

Oh I'm sorry, I read the module wrong entirely.

works fine for me with Chrome 77.0.3865.70 (Official Build) beta (64-bit) MacOS. What exact version do you have @SerDIDG ?

Can reproduce all three links above on Chrome 76.0.3809.136 (Official Build) (64-bit) ChromeOS

Reproduced on 76.0.3809.132 (64-bit) Win 10, but not on the same version for macOS. New IE has arrived.

Upstream states: "I can't reproduce. Could you try Canary?" and was then merged into https://bugs.chromium.org/p/chromium/issues/detail?id=1002442 and marked as fixed.

Seems like not reproduced on 77.0.3865.120 (Official Build) (64-bit).

Aklapper added a project: Upstream.

Thanks for retesting! I'm [closing this as invalid](https://www.mediawiki.org/wiki/Bug_management/Bug_report_life_cycle) as the fix for this had to happen outside of code maintained by Wikimedia.