getComputedStyle returning the wrong value for "font-size" when called on an iframe's document that has media queries

Issue #16714064 • Assigned to Bogdan B.


Charles H.
Apr 3, 2018
This issue is public.
Found in
  • Microsoft Edge
Standard affected
Document Object Model CSS

Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Steps to Reproduce

  • Open the attached html file, ms_edge_iframe_bug_demo.html, in MS Edge
  • Open the console
  • See that the incorrect value is logged for fontSize

Tested Browsers

Problem Occurs

Edge 16.16299.0 (Windows 10.0.0)

Behaves as Expected

Chrome 65.0.3325 (Mac OS X 10.13.3)
Chrome Mobile 65.0.3325 (Android 8.1.0)
Firefox 59.0.0 (Mac OS X 10.13.0)
Safari 11.0.3 (Mac OS X 10.13.3)
Mobile Safari 11.0.0 (iOS 11.2.0)


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

    Changed Assigned To to “Travis L.”

    Changed Assigned To to “Bogdan B.”

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

Sign in