Font size fails on generated content if set to display: table

Site Outreach Issue #107590

Details

Created
Apr 27, 2014
Privacy
This issue is public.
Found in build #
0.0011
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL =

URL:

Repro Steps:

Sample page code:

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Broken :before and :after</title>
<style>
.test:before {
display: table;
content: "This should have a font size of 100px. Remove display: table and it will.";
font-size: 100px;
}
.test:after {
display: table;
content: "This should have a font size of 200px. Remove display: table and it will.";
font-size: 200px;
}
</style>
</head>

<body>
<div class="test">This is a test.</div>
</body>
</html>

Expected Results:

IE should honor the font size regardless of the display type.

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Sushanth R.”

      Changed Status to “Site Outreach”

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

    Sign in