Skip to content
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

Implement HTMLLabelElement.prototype.control #37

Closed
wants to merge 7 commits into from
Closed

Implement HTMLLabelElement.prototype.control #37

wants to merge 7 commits into from

Conversation

termi
Copy link
Collaborator

@termi termi commented Jan 26, 2012

fix #34

@Raynos
Copy link
Owner

Raynos commented Jan 26, 2012

It's confusing to see what it looks like as a whole so I'll deal with this when I can test it locally.

Also note I have some plans for refactoring the entire project into two new projects.

Feature and polyfill.

Feature will contain a large set of individual tests that can be compiled into a single feature detection suite. These feature tests will says yes/no on any given feature (DOM interface props/methods, HTML5 stuff, bugs, other stuff, etc).

Then once feature has this set it sends a request to polyfill.raynos.org which returns a single javascript file which polyfills/shims/fixes only the missing features.

Then polyfill will just be a large project with fixes for features that is build using browserify/modul8 and each feature will be done in a seperate file which lists it's dependencies.

This get's rid of partial implementations and having "modern" or "all" builds. I will still need a solution for generically serving a htc file for <IE8 support which is going to be a pain.

So the project is going to be a large set of polyfills for specific features which can be combined any way needed. Each feature will list it's dependencies.

There will need to be some hackery to optimize byte size of the files though.

@termi
Copy link
Collaborator Author

termi commented Jan 26, 2012

Good plans.
When I starting my project (~04.2011) I was initially pursued a different goal:

  • minimal size
  • fastest loading (minimal server request)
  • fastest run

If I delete some crap from my main file it would take ~18Kb unzipped.

But I really understand what my project need to modules and build systems.

@termi
Copy link
Collaborator Author

termi commented Jan 26, 2012

Next, after a little pause I would be worked on

  • Implement DOM3 events

And I can "Pull Request" this asap this would be ready

@termi
Copy link
Collaborator Author

termi commented Jan 26, 2012

@termi
Copy link
Collaborator Author

termi commented Jan 26, 2012

#38

@termi termi closed this Jan 26, 2012
@Raynos
Copy link
Owner

Raynos commented Jan 26, 2012

DOM3 events implementations would be appreciated, XHR2 is also something I need to work on.

First though I need to re-do the tests so they don't suck and rework the base infrastructure so that it scales well in modularity. And write that feature library.

Thanks for #38, looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement HTMLLabelElement.prototype.control & unit test
2 participants