Steps to reproduce
- Launch IE11 or Edge.
- Navigate to http://x9n.com/bugreports/child-selector-bug.html
- Note that paragraph “B” is incorrectly styled red. (The style should only apply to the last paragraph.)
- Launch F12 Developer Tools.
- Examine the style of paragraph “B” in DOM Explorer.
- Note that paragraph “B” is now correctly styled.
The :nth-last-child(1) selector should only match an element that is the last child of its parent.
Dev Channel specific:
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Christian F.”
Changed Assigned To to “Rossen A.”