Pseudo-element relative font sizes self-cascade

Fixed Issue #1550577

Details

Created
Feb 3, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL: http://jsbin.com/lajedotibe/1/edit

Repro Steps:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style>
b, i {
font-style: normal;
font-weight: normal;
}

b {
  font-size: 2em;
}

i:before {
  content: "A";
  font-size: 2em;
}

body i:before {
  font-size: 2em;
}

html i:before {
  font-size: 2em;
}

</style>
</head>
<body>
<b>A</b>
<i></i>
<br />
<br />
The two "A"s above should be the same font size.
</body>
</html>

Expected Results:

The pseudo-element which has been assigned font-size: 2em; twice should have a final font-size of 2em, not 4em.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Christian F.”

      Changed Assigned To from “Christian F.” to “Sergey M.”

      Changed Assigned To from “Sergey M.” to “IE F.”

      Changed Status to “Not reproducible”

      Changed Status from “Not reproducible” to “Fixed”

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

    Sign in