Created attachment 143955 [details] text example There is a longstanding problem with the "CSS" and "Canvas" at the same time. If the function "-webkit-canvas ()" is specified in the property "content" in <img> element, then the original image size is set to zero like a "DIV" elements. I beg to correct the work "-webkit-canvas ()" in the property "content". For ideas, the size should be changed immediately if JS was called "document.getCSSCanvasContext ()".
*** Bug 86329 has been marked as a duplicate of this bug. ***
You have filed multiple bugs on this issue. Could you please explain why it is important? That would help prioritize it much better than unsubstantiated requests do.
I'm also confused. It looks like you're saying the other bugs you filed are duplicates.
Alexei, could you file one bug and stop changing the others (duplicating, changing priority, etc)?
Messages does not editable. I created many bugs with one reason.
This is FINAL BUG!
OK. I think this is a bug, but also slightly unspecified behaviour. It's not clear what the size of the CSS content is, nor whether it should be resized if it changes. BTW - it's probably our fault that this is unspecified, since we invented webkit-canvas.
<rdar://problem/11553297>
Size must be defined from JS code: <style> img { content:-webkit-canvas(test); } </style> <script> var ctx = document.getCSSCanvasContext("2d","test",150,150); </script> Original size must be 150x150 like: <style> img { content: url(icon.png); } </style>
v2.0 proposal: https://bugs.webkit.org/show_bug.cgi?id=88701