-
-
Notifications
You must be signed in to change notification settings - Fork 575
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
Browsers without CSS variables are broken #630
Comments
I've planed to add to documentation how to use css variables ponyfill (I've played with it on IE11) I need to test if it's still usable without this, but I don't think it's good idea to include with the library. As for Map I should probably add polyfill. That will be included. |
Can you tell me what platforms are you interested that don't have Map and CSS variables? |
Not sure if I can easily test this, on I don't think that there is such platform at BrowserStack. But I can make it work better with CSS variables or maybe add workaround that can be used. Did you change the colors anyway or is this the default? At least it should be all black without CSS variables you only should have problems with setting for instance white backround with css variables. Will test on IE11 and see what can I do. If you will be able to test on your blackberry that would be really helpful. |
No that is the default theme from your distribution. Sure, I tried to produce a heap yesterday but the devices debugger just output a blank file and I had some errors from Backbone that just added a layer of confusion. |
Also one more question do you have any global css on the page? Maybe |
No not at all, just what is installed from v2.19.2. I have been using v0.10.1 until I read through the whole library. |
Are you sure you're using same version of CSS and JS? I've checked demo on website in IE11 and it works fine without css variables. |
Yea, adding styles my self would be no problem. I deployed demos of the latest and v0.10.11 here. I'll add some screen shots of before and after. At least up to this style sheet issue. No stress, just some stats. I was hoping to use this browser specifically, android Fennec browser paints everything fine. Thanks. |
Thanks for the demos. Running in Browserstack in IE11 shows the error. I think that demo (that I've tested) have background from the page not from terminal. Will investigate and try to fix the issue. It seems that I completely forgot to test in IE11. In previous version I've tried to make it work in that browser. And as this issue suggest there are more browsers that don't support css variables. |
Quick fix before I update the library is to just use this for now: .terminal {
background: black;
} |
* Fix background color * Fix cursor animations with prefix class
CSS part is fixed, I only need to also fix #631 for version 2.19.3. I also have questions about Map I've tested in Safari 10 on MacOSX Sierra and there are no issues. Most of the features of Map are in Safari 8, it even work in IE11. Map is used in code that cache the processing of long command line in multiline command when you just move the cursor. It seems that there are no issues. Do you have any exceptions from Map being undefined? |
No, it doesn't really need I am pretty sure I included the polyfill only to avoid the error in the console. After |
Ok, did you tried this polyfill https://polyfill.io/v3/polyfill.min.js?features=Map service? There is quite a lot of code to polyfill Map object. The service is user-agent based and send JS only if needed. If it don't return anything for your blackberry browser then maybe you will need to report the bug to use the service. I home this help, if this is fine then I will need only to document the use of Map object and suggest polyfill. The main page is https://polyfill.io/v3/url-builder/ where you can use the polyfills you want. |
Thank you, the user agent is becoming a problem for this browser. |
Then probably you will need feature test kind of polyfill that's always included on the page. |
Found shim for Map, but it says that implementation is slow, so I've made |
Great news. Yes it seems an iterable protocol is behind the implementation of Map done in C++. While the syntax does not work 1:1 with modern javascript, the latest version of Backbone, provides the same constructs and is possibly more suitable for use in a legacy javascript environment. |
releasing the fix in version 2.20.2 |
I have question related to jQuery Terminal
Hi, first time issuing a question.
Is causing compatibility issue with some of the mobile platforms you have detection for.
Do you plan to include a Map polyfill and alternative to CSS variables?
Thanks.
The text was updated successfully, but these errors were encountered: