Steps to reproduce
Create a class with the :empty pseudo selector.
Create a DOM element (div) with that class and give it some content text.
Create a document fragment.
Create two child elements.
Set child elements content.
Append child elements to fragment.
Empty the DOM element.
Append the document fragment to the DOM element.
Note that the DOM element :empty remains even though the element is no longer empty.
The expected behavior is that when an element is emptied the :empty pseudo class should be removed.
Dev Channel specific:
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Christian F.”
Changed Assigned To from “Christian F.” to “Bogdan B.”
Changed Assigned To from “Bogdan B.” to “IE F.”
Changed Status to “Won’t fix”
Changed Status from “Won’t fix” to “Fixed”