Apparently, the UIBinder seems to perform some sort of tidying the markup.

UI Temlate Content:
<ui:UiBinder
    xmlns:ui="urn:ui:com.google.gwt.uibinder"
    xmlns:g="urn:import:com.google.gwt.user.client.ui">

    <g:HTMLPanel styleName="thepanel">
        <p>
            <h1>H1 Headline</h1>
        </p>
    </g:HTMLPanel>

</ui:UiBinder>


creates the following html which is inserted to the dom:

<div class="thepanel">
  <p> </p>
  <h1>H1 Headline</h1> 
  <p> </p>
</div>

is this the intended behavious for the ui-binder generator?

My environment is GWT 2.6 tested on Chrome and firefox.

Cheers,
Frank

P.S: i'm aware that nesting h1 inside an p Element is possibly not a good 
choice

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to