Comments (8)
I can see the issue on your screenshot, but looking at the site itself (also Chrome/OSX) it looks fine to me:
.
I wonder where the difference comes from.
from api.qunitjs.com.
I was only able to reproduce with FF29 OSX 10.7.5. by reducing the browser window to its minimum possible size. Chrome and Safari were fine for me.
from api.qunitjs.com.
Thanks @agcolom. I see that, too, but at that size the behaviour is pretty reasonable. @polm can you provide more details to reproduce this?
from api.qunitjs.com.
Hm, it's fine in FF/Chrome on my home machine - I saw the error on a work machine, so I'll check it again when I'm back at the office tomorrow. I do have a few plugins running, but nothing that should fiddle with styles like that...
from api.qunitjs.com.
Confirmed the problem with Chrome at work. Fiddling with the style a bit it seems like the width of the box is set in ems but the font is not specified. Since my Chrome settings have a Japanese font as default for serif and sans-serif, could that be the source of the problem? It falls back to a non-Japanese typeface for latin text but I don't have direct control of that in Chrome (that I can tell, anyway).
I checked a coworker's machine (same hardware, OS version) and could not reproduce this problem, so it's entirely possible I just have weird settings.
In case that's not what's up, two ways to work around the above problem for my setup would be:
- Monospace font (should be fine since the box is a command line anyway)
- More ems (16em worked for me)
Is there anything else I should have looked for?
from api.qunitjs.com.
Using a monospace font sounds good, that looks better anyway. I've patched this on our stage server, can you take a look here? http://stage.qunitjs.com/
If that solves the problem for you, I'll deploy it live.
from api.qunitjs.com.
That fixed it! It looks like this now:
Thanks!
from api.qunitjs.com.
Closed by jquery/jquery-wp-content@4e2b833
from api.qunitjs.com.
Related Issues (20)
- Deprecate or add warning to `QUnit.start` HOT 1
- Document QUnit.skip
- Document QUnit.assert.async
- Document QUnit.test's support for Promises
- Move docs for assert.expect into the assert category
- Problem in module test env usage example
- Document beforeEach/afterEach's support for Promises
- Document beforeEach/afterEach's assert parameter
- Document how to use throws with $.error HOT 3
- Document config.module has been renamed in config.moduleFilter HOT 3
- Document QUnit.config.collapse HOT 3
- Document "skipped" in testDone details object HOT 1
- document nested modules HOT 1
- Document missing QUnit.config properties HOT 1
- Document Assert#pushResult HOT 2
- Document Blacklist jsDump HOT 4
- Document predefining QUnit.config
- Document QUnit.on and link to js-reporters
- Markdown not rendered inside <p> HOT 1
- Rename branch to 'master' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.qunitjs.com.