diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket5952.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tickets/Ticket5952.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket5952.java b/uitest/src/com/vaadin/tests/tickets/Ticket5952.java new file mode 100644 index 0000000000..92cd0290d6 --- /dev/null +++ b/uitest/src/com/vaadin/tests/tickets/Ticket5952.java @@ -0,0 +1,30 @@ +package com.vaadin.tests.tickets; + +import com.vaadin.Application; +import com.vaadin.shared.ui.label.ContentMode; +import com.vaadin.ui.Label; +import com.vaadin.ui.UI.LegacyWindow; + +public class Ticket5952 extends Application.LegacyApplication { + + @Override + public void init() { + final LegacyWindow mainWindow = new LegacyWindow( + "Forumtests Application"); + setMainWindow(mainWindow); + + String mathml = "<math mode='display' xmlns='http://www.w3.org/1998/Math/MathML'>" + + "<mrow>" + + " <msup>" + + " <mi>x</mi>" + + " <mn>2</mn>" + + " </msup>" + + " <msup>" + + " <mi>c</mi>" + + " <mn>2</mn>" + + " </msup>" + + " </mrow>" + "</math>"; + Label mathLabel = new Label(mathml, ContentMode.XML); + mainWindow.addComponent(mathLabel); + } +} |