Thanks, I want the width like nsTableCellFrame's members mMaxElementWidth and 
mMaximumWidth. I regard mMaxElementWidth as minimum width . In the same way,  
mMaxMaximumWidth  equals to maximum width. So i can do layout according these 
width elsewhere.  
Note: I found them out in nsHTMLReflowMetrics. They  are members of 
nsHTMLReflowMetrics  mMaxElementWidth and mMaximumWidth, but they both are 
temporary. I can't keep them in every frame. In fact, I want the lagest and 
least size of every line with  in a Box block.

^_^:Sorry, my English is bad. but I learn mozilla technology very much.^_^ I'm 
making use of the result mozilla reflowed to write a embedded browser. 




Xu Jianbin
2007-08-20



发件人: raodu
发送时间: 2007-08-18 13:42:45
收件人: [email protected]
抄送: 
主题: Re:Re:how to get minWidth and maxWidth of content node?


> > He means,in layout process, whether every content node has it's maximal 
> > width
> > and minmal width.
>Um...  It has a CSS computed min-width and max-width.  It can also compute its
>min-intrinsic width and intrinsic width, though it may not do that depending on
>what styles are applied to it.
> > if has,is there any relationship between the layout width
> > and css width.
>Generally speaking, if there is a specified CSS width, that's the width the box
>ends up with.  Or am I misunderstanding the question?
>-Boris
A good answer to the question.
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to