-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dispose of CSSOM as a dependency #7
Comments
Blocked again by https://bugs.chromium.org/p/chromium/issues/detail?id=588129 |
I'm running into a related problem, where NV/CSSOM fails to parse a minified stylesheet. I'd settle for the broken font-face behavior of native CSSOM over this failure mode :( I suspect I'll need to fork |
Thanks for the feedback. It looks like a balancing act, either support font-face for Chrome or offer more reliability in general. Just not both. With some activity with the newly reported bug for Chrome and the short release cycles, I'm positive that we can solve this issue here soonish. In the meantime, there's no strict requirement on CSSOM (the JS implementation), if you don't provide it, the workaround is just not going to be triggered. I believe it depends on your packaging/build setup how difficult it is going to be to setup. I'm on a bus right now, so excuse the brevity of the answer :) |
No worries, I wouldn't expect you to disable CSSOM until the browser support was more stable. I'll play around to get a custom build for our project in the meantime. |
Hey, after looking at the current code, I have to partially retract my initial statement. I believe building inlineresources without cssom will fail, as this is currently not handled at the import level. If you are willing to investigate, the following pointers might help:
|
Thanks for the tips! Will give it a go today. |
Got it working. I'm not as familiar with the browserify way of doing things, so it's possible my approach isn't very idiomatic. Here's the changeset: barillax@20a1135 |
That looks good to me. I'm happy to take in the changes and release another version. Good with you? |
OK, I'll create a PR momentarily! |
Done: #9 |
There's yet another bug in Chrome (https://bugs.chromium.org/p/chromium/issues/detail?id=660663) and a work around committed in 6ab44b8. |
This can be closed since version 0.4.0, right ? |
This is still pending a release if I'm not mistaken. |
It seems that https://bugs.chromium.org/p/chromium/issues/detail?id=484930 is back. This reverts commit 22bc341.
…ed all issues in the newest version #7" It seems that https://bugs.chromium.org/p/chromium/issues/detail?id=484930 is back. This reverts commit c9dbadd.
Sorry for the noise. There was one failing test, which depended on the baseURI of the test runner. Took a while to figure out that the issue is indeed fixed in Chrome, just a corner case with an "illegal" relative URL was to blame. |
Released |
Use browser's own cssom once the fix for https://code.google.com/p/chromium/issues/detail?id=161644 has been rolled out in Chrome. This will fix the underlying issue for #5.
The text was updated successfully, but these errors were encountered: