google / google/codeworld

Variable-sized brackets and bold text break character alignment in Firefox

Aperta
#812 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Shared Program**: https://code.world/#PL1P3DfDlbKvMjslV59Pugg

**Description**

Consider lines 10 and 11 of the above program:
```haskell
change(w, KeyRelease("Left")) = w { leftReleases = leftReleases(w) + 1 }
change(w, _) = w
```
In Chrome, they look fine:
![image](https://user-images.githubusercontent.com/16061266/52250169-874a3800-28c4-11e9-9a16-156819ecb69d.png)

But in Firefox, the alignment is wrong:
![image](https://user-images.githubusercontent.com/16061266/52250197-9df08f00-28c4-11e9-8b04-dfb9e0082ebd.png)

Note the `= w` on line 11 is too far to the left. The same number of characters are there when you count, and it copies and pastes right, so it's just a display bug.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Open the shared CodeWorld program and compare its rendering in Firefox and Chrome, focusing on lines 10 and 11 and the `= w` alignment. Trace the editor or display entry point responsible for character positioning; done means variable-sized brackets and bold text align consistently in Firefox without changing copy-and-paste behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
haskell
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.