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

Fix "border-image fail" bug in Chrome #4

Merged
merged 1 commit into from Feb 2, 2012
Merged

Fix "border-image fail" bug in Chrome #4

merged 1 commit into from Feb 2, 2012

Conversation

codler
Copy link
Contributor

@codler codler commented Feb 2, 2012

This is certainly a bug in Chrome, but I found a solution. Strangely if you add the variable dummy to document or do a console.log on dummy, the border-image will not fail anymore.

@LeaVerou
Copy link
Owner

LeaVerou commented Feb 2, 2012

Thanks!

How much does this affect the time taken (it's on the sidebar)? That's the reason I kept it out of the document, for performance.

@codler
Copy link
Contributor Author

codler commented Feb 2, 2012

Um, I have a good computer so I dont see any difference, I get around 50-51ms on both with and without the patch.

LeaVerou added a commit that referenced this pull request Feb 2, 2012
Fix "border-image fail" bug in Chrome
@LeaVerou LeaVerou merged commit a20d371 into LeaVerou:gh-pages Feb 2, 2012
@LeaVerou
Copy link
Owner

LeaVerou commented Feb 2, 2012

Ok, lets try it.

Thanks again!

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.

None yet

2 participants