New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 685456 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Launch-OWP
Launch-Accessibility: ----
Launch-Exp-Leadership: ----
Launch-Leadership: ----
Launch-Legal: ----
Launch-M-Approved: ----
Launch-M-Target: 58-Dev , 58-Beta , 58-Stable
Launch-Privacy: ----
Launch-Security: ----
Launch-Test: ----
Launch-UI: ----
Rollout-Type: ----

Blocked on:
issue 687558

Blocking:
issue 703798



Sign in to add a comment

Launch color-gamut media query

Project Member Reported by mlamouri@chromium.org, Jan 26 2017

Issue description

Change description:
Expose the approximate range of colors supported by the user agent and the output device in a CSS Media Query.

Changes to API surface:
Add "color-gamut" as a media query and accept the "srgb", "p3", and "rec2020" keywords.

Spec: https://drafts.csswg.org/mediaqueries-4/#color-gamut

Support in other browsers:
Internet Explorer: No public signal
Firefox: No public signal
Safari: Shipped
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 27 2017

Project Member

Comment 2 by bugdroid1@chromium.org, Jan 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2575c4f8b8a7172537a762d069486d906bed1076

commit 2575c4f8b8a7172537a762d069486d906bed1076
Author: mlamouri <mlamouri@chromium.org>
Date: Sun Jan 29 21:07:39 2017

Implement color-gamut media query

This is implementing the following specification:
https://drafts.csswg.org/mediaqueries-4/#color-gamut

Intent to Implement and Ship:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/36CcloDrB3E/1wMSNMl9BQAJ

BUG= 685456 

Review-Url: https://codereview.chromium.org/2652313004
Cr-Commit-Position: refs/heads/master@{#446946}

[add] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/LayoutTests/fast/media/mq-color-gamut-api.html
[add] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/LayoutTests/fast/media/mq-color-gamut-picture-expected.html
[add] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/LayoutTests/fast/media/mq-color-gamut-picture.html
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/CSSValueKeywords.json5
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaFeatureNames.json5
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaValues.cpp
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaValues.h
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaValuesCached.h
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/core/css/MediaValuesDynamic.h
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.cpp
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/platform/graphics/ColorSpace.cpp
[modify] https://crrev.com/2575c4f8b8a7172537a762d069486d906bed1076/third_party/WebKit/Source/platform/graphics/ColorSpace.h

Cc: fbeaufort@chromium.org
Status: Started (was: Assigned)
This is implemented. Keeping the launch bug open until it makes it to Beta/Stable.
Blockedon: 687558
Labels: Update-Monthly
Blocking: 703798
Status: Fixed (was: Started)

Comment 9 by ise...@gmail.com, Jun 22 2017

Is there an issue for the new color depth feature? See https://www.w3.org/TR/mediaqueries-4/#color

Sign in to add a comment