Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26827

    We recently tried to include some small images as data URIs embedded in a CSS file. This results in malformed PDF content.

    I have not investigated it further but I suspect a CSS parser error which results in the rest of the CSS document being ignored.

    <br /> .expand{ background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAU5JREFUKFONje1LwlAUxv1bTTFCEjR6Q6JPEaSElMy5DZ1pEEKaL8zUzK0tyxxz7q8J3J7uPSvpow+ce899nvO7JwKA17aK0HB1vII6WaI69KC+eFBGHmojB+rYxd1wAfXZhThehgQ/lL4NUXMhawsoA48CLu6JmoPyYAVJs8kjoNi1UewtIfRd3PTDn7huezYKzC92HQgdhzwC8q05rtpzFNo2co9zCrhy7Q/kOwvkWl+4fvq34bI5Q8BuH+vwDL7hc4OV74f3xYPFml/gnD+CNUEc4MPsybqAvGDt46wZbibgsGbhqDHDcX2GE1Z/yjYsZOsTnN5/svydPALSVZ2ViYPKKzJquJorXTWQYlmmYm58AvYkE0nJwr5kICmbFHDtym9IKToSrJKyQR4BcVHHTslEVNCpjwkGouIUidIUsfKU9Qbikr4BCNpOiPwAxzTvfGmussgAAAAASUVORK5CYII=) 0 center no-repeat;}<br />

    I am not dependent on the images being displayed, but it would be nice to have a working CSS document even when using data URIs.


    We patched our code to correctly process “data:” URLs in CSS.

    A fix will be available with the forthcoming beta version in 1-2 weeks.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.