Comments (2)
Hi, and thanks for your input. This project is very much an ad-hoc collection of (sometimes inelegant) solutions to specific problems that I encountered over several years of accommodating IE8 in my work. The goal has always been more along the lines of 80-20 coverage than 100% W3C standards compliance.
That said, there is certainly room for improvement, and I'm very much open to replacing any and all of the existing shims/shams/polyfills with more compliant and/or elegant ones, and your implementations look like a good fit if you're willing to offer them up for inclusion. (DOM4 compliance seems like overkill to me, but if Aight could get a bunch of other useful stuff in the process I would certainly consider it worthy.) I've been thinking for a while about a v2 release that would provide better standards compliance and testing coverage, and leaning on polyfills with their own test coverage would be a great start.
At this very moment I've got a newborn to take care of, but when I emerge from the fog of sleep deprivation this is one of the first things that I'll be thinking about. If you have any other suggestions in the meantime, feel free to include them here and I'll carry them add them to the inevitable v2 milestone.
from aight.
So I started a v2 branch that uses your ie8 and dom4, es5-shim, a patch for DOM2 CSSStyleDeclaration
prototype methods and a sham createElementNS()
. I've added some basic unit tests that are far from exhaustive, but (so far) check out in IE8:
I'm going to close this issue, but feel free to send me a pull request with some other tests that you think would be worth including. I may also ask for your input on the PR to merge v2 into master (specifically re: licensing, and how you'd like that handled in the files that include yours). Thanks for pointing me toward your libraries!
from aight.
Related Issues (20)
- d3.v2 loads but not d3.v3 HOT 10
- IE8 error on DispHTMLDocument.createElementNS HOT 4
- jQuery.parseHTML breaks in IE8 with aight HOT 6
- Is the script type attribute necessary? HOT 1
- More unit tests! HOT 2
- incompatible with modernizr HOT 4
- Bump version in js/aight.js
- Test for getComputedStyle is broken in browsers that implement the current Web IDL specification HOT 8
- setProperty() is not working for some rules HOT 2
- Make a real website
- Docs: note that jQuery needs to be included before aight
- Include Respond.js HOT 6
- Make the build process friendlier HOT 3
- Include History API pollyfill?
- In the IE8 createElementNS dosen't work, is there other better solution? HOT 1
- Aight CLI bug HOT 3
- Upgrade es5-shim
- IE8 standard popup "Are you sure you want to leave this page?"
- test
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 aight.