Comments (6)
It's definitely bad idea.
All browsers have their specific css(ex: mos for firefox).
Please fix your css instead of making mess.
from magento2.
@kirmorozov yeah u r right browser have their specific css properties,
but its idea for common properties some Wordpress sites use same trick.
from magento2.
What stops you from adding this class using JavaScript. It won't affect performance much and it wont affect server performance at all.
@jigneshthummar IMHO this is the way to fix some bug with own css.
P.S. Probably you didn't heard of http://code.google.com/p/ie7-js/
from magento2.
i have used https://github.com/rafaelp/css_browser_selector for this since some time now.
So either you dont care about this, and give a note in manual to this library or add this as standard library (what sure has its benefits)
And if we talk about this, http://modernizr.com/ belongs in the same area, than many things are depending on a feature, not on a browser.
In any case, its a theming question. Maybe its the best to have a more simple js-less main theme, and an additional "perfect" theme which makes havy use of js.
from magento2.
@jigneshthummar
Thank you for suggestion. We'll not implement it though -- as @kirmorozov and @Flyingmana pointed out, there are more effective solutions are possible without affecting server performance.
from magento2.
Ok thanks @Flyingmana @kirmorozov for their valuable suggestions :)
from magento2.
Related Issues (20)
- GraphQL APIs for add<Type>ProductsToCart are unintuitive leading to excess requests HOT 9
- Considering removing doctrine/annotations as dependency HOT 6
- Image uploader does not work inside dynamic rows HOT 1
- Issue: Configurable product salable is not update correct in cataloginventory_stock_status HOT 3
- Grouped product stock status not changing to in stock when its child is added with qty and set as in stock through rest api HOT 14
- Failed to process PxPay 2.0 response error message HOT 6
- Google Pay Payment fails with message error 2099 (The customer's bank declined the transaction because a 3D Secure authentication was not performed during checkout. Have the customer authenticate using 3D Secure, then attempt the authorization again.) HOT 1
- Admin Grid - missing horizontal scrollbar when grid width is greater than page width HOT 7
- Design Config Default Value Detection HOT 9
- Canceled Shipped order should return items back to stock HOT 1
- Category URL in breadcrump is invalid after changing URL Key with Creating Permanent Redirect for old URL HOT 8
- [Issue] Bugfix: Sort multiline form elements by given array keys before imploding. HOT 3
- [Issue] Bugfix: Check that the option_id is actually set before using it. HOT 5
- New order does not generate customer email HOT 12
- REST API /rest/V1/products/attributes doesn't distinguish between "Filterable(with results)" and "Filterable(no results)" options HOT 3
- request to reopen #760 updated_at not changing on mass update attributes or resourceModel->saveAttribute HOT 18
- Place order with disabled Payment method working HOT 21
- "The requested qty is not available" doesn't always show HOT 57
- Discard subsequent rules for shipping amount HOT 15
- White area in watermark displays as black HOT 12
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 magento2.