[webkit-dev] Forcing relayout on style change

2011-11-17 Thread Fady Samuel
Hi all,

I've been in the process of implementing the aspect-ratio CSS property. I
have a patch that plumbs the property to RenderStyle. I'd like to include
code that force relayout upon a change to aspect ratio on the associated
RenderBox..

Here's a patch from a couple of days ago of what I currently have (modulo
some bug fixes). https://bugs.webkit.org/show_bug.cgi?id=72350

Could someone please point me to a place in the code to do this?

Thanks,

Fady
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Forcing relayout on style change

2011-11-17 Thread Fady Samuel
Perfect! This is exactly what I was looking for, thanks!

Fady

On Thu, Nov 17, 2011 at 11:11 AM, Dan Bernstein m...@apple.com wrote:



 On Nov 17, 2011, at 7:55 AM, Fady Samuel fsam...@chromium.org wrote:

 Hi all,

 I've been in the process of implementing the aspect-ratio CSS property. I
 have a patch that plumbs the property to RenderStyle. I'd like to include
 code that force relayout upon a change to aspect ratio on the associated
 RenderBox..

 Here's a patch from a couple of days ago of what I currently have (modulo
 some bug fixes). https://bugs.webkit.org/show_bug.cgi?id=72350

 Could someone please point me to a place in the code to do this?


 RenderStyle::diff()

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev