Tested strings:
- Courier New
- "Courier New'
- 15px
- 15pt
- 11pt "Consolas" (my previous setting, it indeed worked)
No change in how code blocks/diffs/audits/etc look like in both Chrome and Firefox. Tested on this instance and on my local installation.
| dtf | |
| Apr 22 2015, 4:06 PM |
| F379009: Screen_Shot_2015-04-22_at_9.32.15_AM.png | |
| Apr 22 2015, 4:32 PM |
| F379001: pasted_file | |
| Apr 22 2015, 4:18 PM |
| F378999: pasted_file | |
| Apr 22 2015, 4:14 PM |
| F378996: Screen_Shot_2015-04-22_at_9.12.11_AM.png | |
| Apr 22 2015, 4:12 PM |
| F378994: Capture.PNG | |
| Apr 22 2015, 4:12 PM |
| F378989: pasted_file | |
| Apr 22 2015, 4:09 PM |
Tested strings:
No change in how code blocks/diffs/audits/etc look like in both Chrome and Firefox. Tested on this instance and on my local installation.
| Restricted Differential Revision | Restricted Diffusion Commit | |
| Restricted Differential Revision | Restricted Diffusion Commit |
Looks like we're escaping the quotes... but I'd assume we always have been.
Don't have much to say here, but it worked on a month-old build.
By the way:
I think we should probably just document our way out of that; it's admittedly unclear that we're dumping the input into a font: attribute and we don't provide any examples.
We could probably better document that it is just a straight font rule, and takes anything that rule does. https://developer.mozilla.org/en-US/docs/Web/CSS/font
http://www.w3.org/TR/css3-fonts/#propdef-font
I don't beleive font: 32px; to be valid CSS.
Seems like you are right.