No, the "styleInformation" parameter is appended to some default Rules in
line:

Line: 883 in /qooxdoo/source/class/qx/bom/htmlarea/HtmlArea.js

 __initDocumentSkeletonParts : function()
    {
      this.__documentSkeletonParts =
      {
        "xhtml" :
        {
          doctype : '<!' + 'DOCTYPE html PUBLIC "-/' + '/W3C/' + '/DTD XHTML
1.0 Transitional/' + '/EN" "http:/' +
'/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
          html : '<html xmlns="http:/' + '/www.w3.org/1999/xhtml"
xml:lang="en" lang="en">',
          meta: '<title></title><meta http-equiv="Content-type"
content="text/html; charset=UTF-8" />',
          style : qx.core.Variant.select("qx.client",
          {
            "mshtml" : 'html { margin:0px; padding:0px; } ' +
                       'body { font-size: 100.01%; font-family:Verdana,
Geneva, Arial, Helvetica, sans-serif; width:100%; height:100%;
background-color:transparent; overflow:auto; background-image:none;
margin:0px; padding:5px; } ',

            "default" : 'html { width:100%; height:100%; margin:0px;
padding:0px; overflow-y:auto; overflow-x:auto; } ' +
                        'body { font-size:100.01%; font-family:Verdana,
Geneva, Arial, Helvetica, sans-serif; background-color:transparent;
overflow:visible; background-image:none; margin:0px; padding:5px; } '
          }),
          contentStyle : 'p { margin:0px; padding:0px; }',
          body : '<body>',
          footer : '</body></html>'
        }
      };
    },

So i cant add my "@import" at the Beginning :-(

An alternative is to serialize my @import. Can you explane me how to do
this?

How can i use the "source" option in htmlArea? when i pass an "/blank.html"
the iframe is empty :-(


-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/insert-own-stylesheet-rules-in-HtmlArea-tp5583130p5584495.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to