style.cssText does not include "default" values (was: inline style "border-style:none" is ignored in printpreview of IE11)

Won’t fix Issue #301143

Details

Created
Jun 9, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. prepare an html file with the following code (note that there is a STYLE element in the html and the html is in standards mode) :
    <!doctype html>
    <html>
    <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>ConstEdit Html Document</title>
    <style>
    section {border: 1px solid black;}
    </style>
    </head>
    <body>
    <h1>New Document Title</h1><p>Set the new paragraph text here.</p><section style="border-style:none;"><h1>New Section Title</h1><p>Set the new paragraph text here.</p></section>
    </body>
    </html>
  2. Open the file with IE11.
  3. The border is NOT shown for the section element, which is correct.
  4. Select PrintPreview for the file. The border is shown, which is incorrect.
  5. Save the html file as the complete webpage format with File > Save As… > Webpage,Complete.
  6. Open the complete webpage file in IE11.
  7. There is a border for the section element, which is incorrect.
  8. Choose View Source for the complete webpage file. The html code for the section element shows style="". The original attribute value style="border-style:none;" is lost.

Expected Results:

The inline style="border-style:none;" of an element should be respected both on screen and in printpreview. When the html file is saved to the complete webpage format with File > Save As… > Webpage,Complete, the original element html text should be preserved.

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Christian F.”

      Changed Assigned To from “Christian F.” to “Sermet I.”

      Changed Assigned To to “Rossen A.”

      Changed Assigned To from “Rossen A.” to “Jonathan H.”

      Changed Title from “inline style "border-style:none" is ignored in printpreview of IE11” to “style.cssText does not include "default" values (was: inline style "border-style:none" is ignored in printpreview of IE11)”

      Changed Assigned To from “Jonathan H.” to “Kevin B.”

      Changed Status to “In progress”

      Changed Status from “In progress” to “Won’t fix”

      Changed Status from “Won’t fix” to “Fixed”

      Changed Status from “Fixed” to “Won’t fix”

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

    Sign in