You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! When styling an image in dillo, if you give it the property display: block; and also a border, such as border: 1px solid black;, it will draw two borders around the image, one around the image itself, and one where the image's margin should be, also doubling the margin.
It seems to be creating a box around the image with the same style properties as the image?
Thanks for the report, it is hard to find a proper issue nowadays, even less
with a working reproducer.
This seems to be coming from the current implementation for block and
display-block, which is internally done by wrapping the image in another
container which seems to be also getting the same style.
I'll try to find a quick workaround. Otherwise I'll probably address this after
3.2.0, as this may require changing the way the block elements are implemented.
Hello! When styling an image in dillo, if you give it the property
display: block;
and also a border, such asborder: 1px solid black;
, it will draw two borders around the image, one around the image itself, and one where the image's margin should be, also doubling the margin.It seems to be creating a box around the image with the same style properties as the image?
Minimal demonstration:
How dillo renders it (for me):
The text was updated successfully, but these errors were encountered: