Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-color-hdr] Initial value of dynamic-range-limit #11429

Open
svgeesus opened this issue Jan 2, 2025 · 4 comments
Open

[css-color-hdr] Initial value of dynamic-range-limit #11429

svgeesus opened this issue Jan 2, 2025 · 4 comments
Assignees
Labels
css-color-hdr CSS HDR extension

Comments

@svgeesus
Copy link
Contributor

svgeesus commented Jan 2, 2025

I am also not convinced that the default value for high is appropriate. constrained-high seems like a more reasonable default.

Originally posted by @smfr in WebKit/standards-positions#312 (comment)

@svgeesus
Copy link
Contributor Author

svgeesus commented Jan 2, 2025

I am also not convinced that the default value for high is appropriate. constrained-high seems like a more reasonable default.

All browsers display HDR video using high as the default, so this would be a substantial change in existing behavior, which would require coordination with every site that delivers HDR video.

There does exist some HDR content that is "just too bright", and doesn't coexist well with SDR content at all. That's a "the content is bad" problem, and solving it via a default of constrained-high has the negative effect of further-enabling bad HDR content, and penalizing good HDR content.

Originally posted by @ccameron-chromium in WebKit/standards-positions#312 (comment)

@svgeesus svgeesus self-assigned this Jan 2, 2025
@shallawa
Copy link

There does exist some HDR content that is "just too bright", and doesn't coexist well with SDR content at all. That's a "the content is bad" problem, and solving it via a default of constrained-high has the negative effect of further-enabling bad HDR content, and penalizing good HDR content.

Should not we define what good HDR content and bad HDR content are first? I think one definition might be

  1. good HDR content is the full screen HDR video/image.
  2. bad HDR content is the HDR video/image when it coexists with SDR contents.

So if the page states that when the video is displayed in full screen use dynamic-range-limit: high and when it is not full screen use dynamic-range-limit: constrained-high then the user should not see that as a negative effect. In fact this will look like, the brightness of the video/image is shaded by other SDR contents in the page (or even the screen). And once the user focuses on the video and brings it to full screen, all the brightness of the video can be seen.

@ccameron-chromium
Copy link
Contributor

By "good HDR content" and "bad HDR content", I don't mean the arrangement of the content on the screen, but rather the content itself (the pixel values).

Most iPhone and Pixel photos are "good HDR content" in that they coexist well even when they are the only HDR content on-screen, surrounded by SDR UI. Most professionally produced HDR videos are good by this definition (but there is a bunch of undefined behaviors there that hopefully will get pinned down).

@smfr
Copy link
Contributor

smfr commented Jan 22, 2025

See also #11558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-color-hdr CSS HDR extension
Projects
None yet
Development

No branches or pull requests

4 participants