Comments (6)
If any of the syntax variants are not supported in the current browser, show the static code example within the iframe. This will then be accompanied by a message to the user to indicate that their browser does not support the current feature or parts thereof.
Perhaps with an in-document link to the support tables? @stephaniehobson @wbamberg
from interactive-examples.
@stephaniehobson On this one, should we include a custom build of https://modernizr.com/download?setclasses or should we roll our own that we build up over time as we need extra checks?
from interactive-examples.
Here is the final decision on how we are going to implement this:
https://github.com/mdn/interactive-examples/wiki/Weekly-Meeting-Notes#conclusion
from interactive-examples.
@stephaniehobson @wbamberg Before this one out, what is our definition of supported? Is it as per spec non vendor prefixed?
from interactive-examples.
I think the stated preference is to write examples without vendor prefixes which means they won't run without the vendor prefix. But maybe we do want to have some kind of allowance for vendor prefixes in interactive examples? But that means showing the -webkit- prefix to the Firefox users and that normally won't work in FF and we'll have to update the example as support evolves....
I think the short answer here is I don't know either.
from interactive-examples.
I think for a first version we should not use prefixes. Do you have a feeling for how big an issue this is? Would it cause us to exclude a lot of properties that we could otherwise include?
from interactive-examples.
Related Issues (20)
- Blockquote example does not need figure/figcaption HOT 10
- can't change ime after using eyedropper HOT 2
- Incorrect syntax for JSON.stringify() demo HOT 2
- [meta] Should we archive the wiki? HOT 1
- [meta] Ci can skip more types of changes HOT 1
- whitespace-example without whitespace included in code HOT 1
- [meta] CI runs on forks
- `::marker` class showing XML error HOT 2
- Prettier config deviates from mdn/content HOT 2
- Article element in a wrong implementation HOT 5
- :nth-child - update example to be inclusive HOT 5
- `npm install` has `2 vulnerabilities (1 moderate, 1 high)` HOT 2
- `1 moderate severity vulnerability` when running `npm install` HOT 2
- `Array.prototype.reduce()` demo requires horizontal scrolling HOT 7
- Expected output is wrong HOT 2
- Live example on the groups and backreferences page has inconsistent name HOT 3
- try it confusion HOT 2
- css.properties.backdrop-filter - The Firefox WebDev tool says invalid property name although it is running latest edition HOT 1
- Create an interactive example for `HWB()` HOT 5
- Example HTML Dialog HOT 3
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 interactive-examples.