Bad value "device-width", "device-height" and "-webkit-device-pixel-ratio" for attribute media on element link

Created on 27 June 2023, over 1 year ago
Updated 5 February 2024, 11 months ago

Problem/Motivation

Validator of w3.org show errors "Bad value (device-width) and (device-height) and (-webkit-device-pixel-ratio) for attribute media on element link: Deprecated media feature device-width."
For guidance, see the Deprecated Media Features section in the current Media Queries specification.

Steps to reproduce

Enable pwa_extras submodule, configure the pwa settings.
Check code here https://validator.w3.org/nu/

Proposed resolution

I have no quick suggestion how to fix it but it needs to refactor/improve logic of pwa_extras submodule (pwa_extras.module).

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024