google / google/codeworld

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

Open
#812 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.