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

Support for local websites #1

Open
paulozoom opened this issue Feb 9, 2012 · 1 comment
Open

Support for local websites #1

paulozoom opened this issue Feb 9, 2012 · 1 comment

Comments

@paulozoom
Copy link

Problem

The proposed URL for checking websites, (http://cssprefix.com/[URI]) doesn't work with local web pages, either with a local webserver or plain file://.

This means that the developer needs to:

  1. Publish the website with incomplete CSS prefixes.
  2. Run the website through CSS Prefix.
  3. Download the updated code.
  4. Update their CSS.
  5. Re-publish the website.

This is a sub-optimal workflow. If CSS Prefix supports local web pages, the first deploy of the website could already have all the needed CSS prefixes.

Possible solution

I believe there are three ways to do this:

  1. Pasting the code to CSS Prefix
  2. Uploading the code to CSS Prefix (drag & drop would be nice)
  3. Developing browser extensions.

Browser extensions are able to do cross-domain requests, but I'm not sure if they can make requests from file:// websites.

@remy
Copy link
Owner

remy commented Feb 9, 2012

Drag and drop is easy, but only the CSS file on it's own: http://jsbin.com/utetay/15

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

No branches or pull requests

2 participants