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

The background-image from style is not draw. #55

Open
VladPush opened this issue Jul 15, 2019 · 0 comments
Open

The background-image from style is not draw. #55

VladPush opened this issue Jul 15, 2019 · 0 comments

Comments

@VladPush
Copy link

When i try to draw this template:
String template = "<!DOCTYPE html>" + "<html>" + " <head> " + " <meta charset=\"UTF-8\">" + " <style type=\"text/css\">" + " .bordered {" + " border: 2px solid #73AD21;" + " padding: 20px;" + " width: 1000px; " + " height: 1000px;" + " background-color: red;" + " overflow: hidden;" + " background-image: url(http://pngimg.com/uploads/scratches/scratches_PNG6173.png);" + " }" + " </style>" + " </head>" + " <body>" + " <div class=\"bordered\">" + " Test text" + " </div>" + " </body>" + "</html>";
the background image isnt draw.
This result is repeated regardless of the type and other parameters of the image.
My version is to investigate in the direction that in the class BackgroundImage: 137 it turns out to be clipped.width = 0.

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

1 participant