I think it is not allowed in HTML to put a heading element inside a 
paragraph. 

Actually not UiBinder does change your DOM, the browser does so. The 
browser corrects this HTML error by inserting appropriate open/close tags 
for your paragraph so that the HTML becomes valid again.

See: http://jsfiddle.net/u2E9A/ and inspect the h1 tag using your browsers 
dev tools.

You should use <span> instead of <h1> if you want to style text inside a 
paragraph.


-- J.

-- 
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