[webkit-help] stretchesToMinIntrinsicLogicalWidth

Sravan sra1sandela at gmail.com
Fri Mar 16 08:05:19 PDT 2012


Hi,

I was trying to understand why only for Fieldsets following logic is
applied? (RenderBox.cpp)

    // Fieldsets are currently the only objects that stretch to their
minimum width.
    if (stretchesToMinIntrinsicLogicalWidth()) {

and why this function(RenderFieldset.h) is returning true with out checking
for width being set by css.

   virtual bool stretchesToMinIntrinsicLogicalWidth() const { return true;
}.

-Sravan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120316/d9b22fb6/attachment.html>


More information about the webkit-help mailing list