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

RESOLVED FIXED

Status

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: sattellite, Unassigned)

Tracking

({in-triage})

Details

(Whiteboard: [specification][type:bug], URL)

Attachments

(2 attachments)

(Reporter)

Description

2 years ago
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
Created attachment 8880794 [details]
H3 with Cyrillic characters
Created attachment 8880795 [details]
H3 with ASCII characters
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.
(Reporter)

Comment 6

2 years ago
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
Keywords: in-triage
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
Last Resolved: 2 years ago
Resolution: --- → FIXED
(Reporter)

Comment 9

2 years ago
Thank you. You are very cool!
You need to log in before you can comment on or make changes to this bug.