Closed Bug 1375831 Opened 7 years ago Closed 7 years ago

In beta version some whitespaces in headers is strange (russian localization)

Categories

(developer.mozilla.org Graveyard :: Design, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sattellite, Unassigned)

References

()

Details

(Keywords: in-triage, Whiteboard: [specification][type:bug])

Attachments

(2 files)

What did you do?
================
1. Go to https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Functions/get

What happened?
==============
Header Not shown whitespaces is "&nbsp".
Whitespaces as black blocks is normal whitespaces.



<h3 id="Определение_геттера_на_новом_объекте_в_момент_инициализации_этого_объекта">Определение геттера на новом&nbsp;объекте&nbsp;в момент&nbsp;инициализации этого объекта</h3>
                                                                                              #       #  #     ^^^^^^       ^^^^^^ #      ^^^^^^             #     #

#     - black blocks
^^^^^ - not shown


Some words is inversed color.


<h3 id="Удаление_геттера_оператором_delete">Удаление геттера оператором delete</h3>

Word "delete" is white color on black background.

What should have happened?
==========================
Normal whitespaces and black words on white background

Is there anything else we should know?
======================================
I'm using Google Chrome 60.0.3112.24
The headers are white-on-black for other locales:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get

However, the headers are white-on-black for Cyrillic, and black-on-white for non-Cyrillic characters. It looks very bizarre.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Great find, thanks for your help!
The team discussed this a bit and we have a plan to fix it. We have a strict no production changes on Fridays rule. Monday we're all traveling to San Francisco for a company meetup. So, we hope to have a fix in place Tuesday afternoon Pacific Time.

I hope it doesn't cause you too much trouble until then, you can see the old design by logging out if it's really interfering with readability. Again, thanks for your help beta testing.
Black blocks instead of whitespaces disappeared.
But there was a problem when the whitespace specified by the combination of "&nbsp;" is not displayed.

Example on URL https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Functions/get#Определение_геттера_на_новом_объекте_в_момент_инициализации_этого_объекта

HTML:
<h3 id="Определение_геттера_на_новом_объекте_в_момент_инициализации_этого_объекта">Определение геттера на новом&nbsp;объекте&nbsp;в момент&nbsp;инициализации этого объекта</h3>

I see:
"Определение геттера на новомобъектев моментинициализации этого объекта"

but I expect see:
"Определение геттера на новом объекте в момент инициализации этого объекта".
Depends on: 1379288
We have updated Zilla to handle &nbsp; properly. We are also using a different technique to put the black backgrounds on the sub headings.

I think everything is okay now. Thank you for the very specific example and link it really helped with testing.

Closing this bug but please reopen if we've missed something.

Thanks!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Thank you. You are very cool!
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.