getContext().css = new TBStyleReference(new NaiveUserAgent());
getContext().css = new StyleReference(new NaiveUserAgent());
    public RenderingContext() {        setMedia("screen");        setContext(new Context());        getContext().ctx = this;        getContext().css = new TBStyleReference(new NaiveUserAgent());        XRLog.render("Using CSS implementation from: " + getContext().css.getClass().getName());        layout_factory = new LayoutFactory();        setTextRenderer(new Java2DTextRenderer());    }