Paul B. Gallagher:
>Hartmut Figge wrote:

>> Hm. I do not see the "A READER SUPPORTED MAGAZINE". Maybe you have to be
>> logged in to see it. The location of the "Search" box here can be seen
>> on this screenshot:
>> http://www.triffids.de/pub/screenshot/sm140603.jpg
>
>I suspect it depends on your font specs. If you've defined a minimum 
>font size that's larger than the webmaster anticipated, the search box 
>hides the text, "A READER-SUPPORTED MAGAZINE" because the webmaster has 
>fixed its position instead of allowing it to move down as the text above 
>it expands. With my settings, for example, I can see the top third of 
>the words "A READER-" and that's it.

Playing with the possibilities shows a hint of what you are writing. I
am not able to get more than that, though, even with 'Allow documents to
use other fonts'.

Of course, there must be a reason why you are able to achieve more. Hm.
My SM is not a normal one, there is one patch, that deals with the
fonts. Maybe, without that patch matters would be different. Verifying
requires the build of another SM without the patch. Too lazy. :)

----- attachment.cgiid=718875 -----
diff --git a/layout/style/nsRuleNode.cpp b/layout/style/nsRuleNode.cpp
index 1ce349a..ec3ab38 100644
--- a/layout/style/nsRuleNode.cpp
+++ b/layout/style/nsRuleNode.cpp
@@ -345,7 +345,7 @@ static nscoord CalcLengthWith(const nsCSSValue& aValue,
         // nsRuleNode::SetFont makes the same assumption!), so we should
         // use StyleFont on this context to get the root element's
         // font size.
-        rootFontSize = styleFont->mFont.size;
+        rootFontSize = styleFont->mSize;
       } else {
         // This is not the root element or we are calculating something
other
         // than font size, so rem is relative to the root element's
font size.
@@ -361,7 +361,7 @@ static nscoord CalcLengthWith(const nsCSSValue& aValue,
           }
         }

-        rootFontSize = rootStyleFont->mFont.size;
+        rootFontSize = rootStyleFont->mSize;
       }

       return ScaleCoord(aValue, float(rootFontSize));
---------------

Wrapping. There is a reason why patches should be attached. And some
news servers refuse to allow attachments. news.mozilla.org may be one of
them.

Hartmut
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to