Developer tools - named items containing a hyphen (-) resolve as 'undefined'

Site Outreach Issue #103081

Details

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

Sign in to watch or report this issue.

Steps to reproduce

URL = http://europa.eu/abouteuropa/index_en.htm

URL:
http://europa.eu/abouteuropa/index_en.htm

REPRO STEPS:
navigate to http://europa.eu/abouteuropa/index_en.htm (the page is using MooTools and Mootools more.)

Display the developer tools console tab,

query

  1. Selectors.Pseudo.first-child
  1. typeof(Selectors.Pseudo.first-child)
  1. Selectors.Pseudo[‘first-child’]
  1. Selectors.Pseudo.item(‘first-child’)

screen shot attached.

EXPECTED RESULTS:

  1. function(){… }
  2. function
  3. function(){… }
  4. Object doesn’t support property or method ‘item’

ACTUAL RESULTS:

  1. ‘child’ is undefined
  2. ‘child’ is undefined
  3. function(){… }
  4. Object doesn’t support property or method ‘item’

(screen shot attached)

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “IPBS P.”

      Changed Status to “Site Outreach”

      Changed Assigned To from “IPBS P.” to “Steve O.”

      Changed Assigned To from “Steve O.” to “Ben K.”

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

    Sign in