- From: 一丝 via GitHub <sysbot+gh@w3.org>
- Date: Thu, 20 Mar 2025 04:28:20 +0000
- To: public-css-archive@w3.org
So what should be done when the lightness exceeds 100%? This behaves differently in Chrome and Safari.  ```html data:text/html;charset=UTF-8,<!DOCTYPE html> <style> .test { display: inline-block; } .test div { width: 400px; height: 50px; display: flex; align-items: center; padding: 0 10px; font-size: 14px; font-family: sans-serif; } .expected { background: lime; } .test1 { background: hsl(120deg 100% 50%); } .test2 { background: hsl(120deg 800% 50%); } .test3 { background: hsl(120deg, 800%, 50%); } .test4 { background: color(display-p3 0 1 0); } </style> <div class="test"> <div class="expected">This should be a lime background.</div> <div class="test1">hsl(120deg 100% 50%), this should be a lime background.</div> <div class="test2">hsl(120deg 800% 50%), this should be a lime background.</div> <div class="test3">hsl(120deg, 800%, 50%), this should be a lime background.</div> <div class="test4">color(display-p3 0 1 0)</div> </div> ``` -- GitHub Notification of comment by yisibl Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9222#issuecomment-2739115425 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 March 2025 04:28:21 UTC