Pseudo-element styles are strikethrough (as if overridden) in F12

Confirmed Issue #7387822 • Assigned to Bogdan B.

Details

Author
Amelia B.
Created
Apr 29, 2016
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

http://jsbin.com/yikeferosi/edit?html,css,output](http://jsbin.com/yikeferosi/edit?html%2ccss%2coutput)[http://jsbin.com/yikeferosi/edit?html,css,output](http://jsbin.com/yikeferosi/edit?html%2ccss%2coutput)

 

Expected:

The rules on the ::after psuedo are not crossed out as they are applied

 

Actual:

The rules on the psuedo are crossed out as though they are not applied

 

Original Repro Steps:

It is very confusing to try to inspect styles on a pseudo-element: they are mixed in with the styles for the main element, and all properties are displayed crossed out. Among other consequences, this makes it very difficult to distinguish a typo or other invalid value, or to identify problems with cascade & specificity over-riding values.

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Steps to Reproduce

  • Added a repro to make it more obvious to what the issue is for triaging and attached a screenshot. Obviously “World” is being added, as is the increase in font-size yet the tools are saying that these are not being applied. This actually may be due to an issue in the platform sending the wrong info to the tools, so feel free to pass it back to us if that is indeed the case but starting this on the F12 team for initial investigation.

  • Microsoft Edge Team

    Changed Steps to Reproduce

    Changed Steps to Reproduce

    Changed Assigned To to “Leo L.”

    Changed Assigned To to “Bogdan B.”

    Changed Status to “Confirmed”

    Changed Title from “Pseudo-element styles are very confusing in Inspector” to “Pseudo-element styles are strikethrough (as if overridden) in F12”

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

Sign in