[Webkit-unassigned] [Bug 270739] New: [CSS Container Queries][Style queries] Incorrect difference between implicit and explicit initial values for custom properties
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Mar 9 04:39:26 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=270739
Bug ID: 270739
Summary: [CSS Container Queries][Style queries] Incorrect
difference between implicit and explicit initial
values for custom properties
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kizmarh at ya.ru
Created attachment 470261
--> https://bugs.webkit.org/attachment.cgi?id=470261&action=review
Screenshot of the test case from Safari TP
Steps to reproduce:
1. Go to https://codepen.io/kizu/pen/poBgBMb in Safari TP and Chrome and compare how things render.
2. There is a difference in how Safari and Chrome treat the `initial` in the container style query.
It seems that Safari treats the `initial` in style queries for custom properties when it is an _implicit_ value (never explicitly set to `initial`) and when it is explicitly `--foo: initial` differently. In the example above, uncommenting the `--is-lightgreen: initial;` on the root also leads to the difference.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240309/616a284a/attachment-0001.htm>
More information about the webkit-unassigned
mailing list