[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
Thu Aug 16 13:38:04 PDT 2012


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





--- Comment #11 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2012-08-16 13:38:37 PST ---
(In reply to comment #10)
> (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.

I understand. If you guys have any good ideas, please post them on the spec bug. I will try to tackle this early next week.

-- 
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