[Webkit-unassigned] [Bug 94077] Width and height is ignored in the image element's UA shadow DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 15 18:40:21 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94077





--- Comment #10 from Shinya Kawanaka <shinyak at chromium.org>  2012-08-15 18:40:54 PST ---
(In reply to comment #8)
> It's not simple as that. When you specify width, img's height should also change due to the intrinsic aspect ratio it has. However, this won't happen in a non-replaced render object (i.e. when img has a shadow DOM) so filling up the available space doesn't solve the problem. We need the shadow-ed img element's width and height to behave like the original img.

Right. Filling up the available space doesn't solve the problem.

We have to care about that the width/height of <img> and the width/height of the inner element of <img> are different. Basically the inner element should fill the the host element, however as I said, we have to have some method to specify the style of the inner element.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list