[Webkit-unassigned] [Bug 72936] images inserted using content: url( ... ) shouldn't be resized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 22 07:36:35 PST 2011


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


Tab Atkins <tabatkins at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |tabatkins at google.com
     Ever Confirmed|0                           |1




--- Comment #1 from Tab Atkins <tabatkins at google.com>  2011-11-22 07:36:35 PST ---
More specifically, the 'content' property on elements is acting differently than the 'content' property on pseudos, and the pseudo behavior is correct.  An image used in 'content' should generate an anonymous inline box inside the element (which is then unsizeable manually and only uses its intrinsic size).  Instead, when used on elements, we are turning the element into a replaced element like <img>.

This also means that we're unable to mix both images and text in 'content' on elements, while we can with pseudos.

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