Textbox in JSP served as XHTML not rendered when printed in IE11 or Edge

Issue #11343791 • Assigned to Steven K.

Details

Created
Mar 21, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Below is the contents of the attached JSP. It is being served from Tomcat 8.5.11. There are two textboxes. One empty and one with some prefilled text. Enter text in the empty one and edit the text in the prefilled one. On print preview or print the text boxes are rendered unchanged. This is a JSP declared as XHTML5.

<%@page contentType="application/xhtml+xml" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Test IE11 XHTML</title>
    </head>

    <body>
        <form>
            <label for="aTextBox">An empty textbox:&nbsp;</label>
            <input type="text" id="aTextBox" name="aTextBox" size="20" maxlength="20" value="" />
            <span>Type something in this textbox.</span>
            <br /><br />
            <label for="anXtextBox">A textbox with Xs:&nbsp;</label>
            <input type="text" id="anXtextBox" name="anXtextBox" size="20" maxlength="20" value="XXX-XX-XXXX" />
            <span>Edit this textbox.</span>
        </form>
        <br /><br />
        <span>Then Print preview in IE11</span>
        <br /><br />
    </body>
</html>

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

You need to sign in to your Microsoft account to add a comment.

Sign in