PREFORMATTED,
/**
- * Content mode, where the error contains XHTML.
+ * Content mode, where the error contains HTML.
*
*/
HTML,
document.baseUri());
document.child(0).before(doctype);
- document.body().parent().attr("xmlns", "http://www.w3.org/1999/xhtml");
Element head = document.head();
head.appendElement("meta").attr("http-equiv", "Content-Type")
* information on what the description is. This method will trigger a
* {@link RepaintRequestEvent}.
*
- * The description is displayed as HTML/XHTML in tooltips or directly in
- * certain components so care should be taken to avoid creating the
- * possibility for HTML injection and possibly XSS vulnerabilities.
+ * The description is displayed as HTML in tooltips or directly in certain
+ * components so care should be taken to avoid creating the possibility for
+ * HTML injection and possibly XSS vulnerabilities.
*
* @param description
* the new description string for the component.
-/*
+/*
* Copyright 2011 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* </pre>
*
* <p>
- * The contents of a caption are automatically quoted, so no raw XHTML can
- * be rendered in a caption. The validity of the used character encoding,
+ * The contents of a caption are automatically quoted, so no raw HTML can be
+ * rendered in a caption. The validity of the used character encoding,
* usually UTF-8, is not checked.
* </p>
*
* locations in a way that is suitable for them. One typical example would be to
* create visual design for a web site as a custom layout: the visual design
* would define locations for "menu", "body", and "title", for example. The
- * layout would then be implemented as an XHTML template for each theme.
+ * layout would then be implemented as an HTML template for each theme.
* </p>
*
* <p>
public static final ContentMode CONTENT_PREFORMATTED = ContentMode.PREFORMATTED;
/**
- * @deprecated From 7.0, use {@link ContentMode#XHTML} instead
+ * @deprecated From 7.0, use {@link ContentMode#HTML} instead
*/
@Deprecated
public static final ContentMode CONTENT_XHTML = ContentMode.HTML;
*
* <p>
* In RAW, PREFORMATTED and TEXT modes, the label contents are compared as
- * is. In XML, UIDL and XHTML modes, only CDATA is compared and tags
- * ignored. If the other object is not a Label, its toString() return value
- * is used in comparison.
+ * is. In XML, UIDL and HTML modes, only CDATA is compared and tags ignored.
+ * If the other object is not a Label, its toString() return value is used
+ * in comparison.
* </p>
*
* @param other
* Creates a new empty panel with caption. Default layout is used.
*
* @param caption
- * the caption used in the panel (HTML/XHTML).
+ * the caption used in the panel (HTML).
*/
public Panel(String caption) {
this(caption, null);
* Creates a new empty panel with the given caption and content.
*
* @param caption
- * the caption of the panel (HTML/XHTML).
+ * the caption of the panel (HTML).
* @param content
* the content used in the panel.
*/
/**
* Sets the caption of the panel.
*
- * Note that the caption is interpreted as HTML/XHTML and therefore care
+ * Note that the caption is interpreted as HTML and therefore care
* should be taken not to enable HTML injection and XSS attacks using panel
* captions. This behavior may change in future versions.
*