On 11/16/10 7:51 AM, Felix Miata wrote:
In global.css is iframe {width: 100px; height: 100px; min-width: 10px;
min-height: 10px;}, but using Domi I'm unable to find it applied.

Are you looking at a <xul:iframe> in DOMi? global.css declares the XUL namespace as its default namespace.

With CSS disabled via view menu, the iframe on 
http://fm.no-ip.com/Auth/auth.html is
obviously neither 10px nor 100px tall or wide.

Well, sure.  It's not a <xul:iframe>.

Where is it getting its size from?

443 nsSubDocumentFrame::GetIntrinsicWidth()
...
458   return nsPresContext::CSSPixelsToAppUnits(300);

and

462 nsSubDocumentFrame::GetIntrinsicHeight()
....
475   return nsPresContext::CSSPixelsToAppUnits(150);

The relevant part of the CSS spec is http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-width next-to-last paragraph and http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-height third paragraph from the end.

-Boris

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to