-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use again ReaderFactory.openStream(URL,String,String) for data-uri.
- Loading branch information
Showing
2 changed files
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
.rule2 { | ||
url1: url('../image.jpg'); | ||
url2: url('../image.jpg'); | ||
url2: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
url3: url('subfolder1/image.jpg'); | ||
url4: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
url5: url('../DoesNotExists.jpg'); | ||
url6: url('subfolder1/DoesNotExists.jpg'); | ||
url7: url('../../main.jpg'); | ||
url8: url('../../main.jpg'); | ||
url8: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
url9: url('http://test.com'); | ||
} | ||
.rule1 { | ||
url1: url('image.jpg'); | ||
url2: url('image.jpg'); | ||
url2: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
url3: url('subfolder1/image.jpg'); | ||
url4: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
url5: url('DoesNotExists.jpg'); | ||
url6: url('subfolder1/DoesNotExists.jpg'); | ||
url7: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
url8: url('../main.jpg'); | ||
url9: url('../main.jpg'); | ||
url9: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
url10: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
url11: url('/main.jpg'); | ||
url12: url('subfolder2/sub.jpg'); | ||
url13: url('subfolder2/sub.jpg'); | ||
url13: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="); | ||
} |
2752b71
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that i find this a problem, but i just want to mention it that this change does "break" the compatibility with the lessc compiler
The lessc compiler will not be able to find in "off" mode the data for those give urls to make a data: url
Now "off" and "local" are way more similar (or "off" and "all") because all the data-uri stuff are all the same over all of them. The only difference is the normal urls based