On Fri, Feb 24, 2012 at 10:07 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 2/24/12 1:02 PM, Tab Atkins Jr. wrote: >> This is fine, actually. Even if the property that caused it to be not >> rendered is inherited (and switching off the inheritance would return >> it to being rendered), it's already in the "draw as a paint source" >> clause. As a paint source, it uses its intrinsic appearance, which is >> completely unaffected by layout. > > This is an incredibly huge pain to implement in the face of dynamic chages, > because to do dynamic changes properly you need a useful concept of the "old > style", and you're completely breaking that because the "old style" suddenly > has circular dependencies on itself. > > This approach is not workable as currently written, imo. We have an existence proof that it's workable, given that Firefox already implements this behavior: <http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1355>. Just remove the / guarding the 'display' property, and the image will revert back to its paint-source appearance, sans border or size change. ~TJReceived on Friday, 24 February 2012 18:31:28 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:51 GMT