Skip to content

[WPE 2.38] matchMedia("(dynamic-range: high)") always returns matches=false  #1430

@amol-virnodkar-infosys

Description

@amol-virnodkar-infosys

In WPE 2.38, media query dynamic-range is supported. But on Sagemcom VA the matches property is always returns false with connected to LG OLED TV(Model number: OLED55C3PSA) which supports HDR. Please see below screenshot. The matches property should return true when the Sagemcom VA is connected to HDR supported TV.

SGMCOM_HDR

As per https://www.w3.org/TR/mediaqueries-5/#dynamic-range, the matched should say True in such case.

In WPE 2.32 and WPE 2.38, below are the return results.

  • For WPE 2.22: matchMedia("(dynamic-range: high)") returns {matches: false, media: "not all", ..}
  • For WPE 2.38: matchMedia("(dynamic-range: high)") returns {matches: false, media: "(dynamic-range: high)", ..}

Test Steps:
Ensure that the Sagemcom VA is connected to HDR supported TV

  1. Open Apple TV application(https://atve.tv.apple.com/94819831-5404-4438-810e-afb648d6a826/tvw_0e7f0489b969451a9f79941a0d18fad1/) with the WebKitBrowser using the UIController.
  2. Open Web Inspector and on the console tab, execute the below media query matchMedia("(dynamic-range: high)") & it returns {matches: false, media: "(dynamic-range: high)", ..}
    as shown in the above screenshot. The expected results that should be returned is matches:true for this case.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions