WebKit Bugzilla
Attachment 357798 Details for
Bug 192922
: CSS variables don't work for colors in "border" property
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[HTML] Reduction
border-color.html (text/html), 423 bytes, created by
Nikita Vasilyev
on 2018-12-20 00:49:14 PST
(
hide
)
Description:
[HTML] Reduction
Filename:
MIME Type:
Creator:
Nikita Vasilyev
Created:
2018-12-20 00:49:14 PST
Size:
423 bytes
patch
obsolete
><!DOCTYPE html> ><html> ><head> ><meta charset="UTF-8"> ><style> >body { > --foreground-lightness: 40%; >} > >.pass { > border: 4px solid hsl(100, 100%, var(--foreground-lightness)); > border-color: hsl(100, 100%, var(--foreground-lightness)); >} > >.fail { > border: 4px solid hsl(100, 100%, var(--foreground-lightness)); >} ></style> ></head> ><body> ><span class="pass">pass</span> ><span class="fail">fail</span> ></body> ></html>
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> body { --foreground-lightness: 40%; } .pass { border: 4px solid hsl(100, 100%, var(--foreground-lightness)); border-color: hsl(100, 100%, var(--foreground-lightness)); } .fail { border: 4px solid hsl(100, 100%, var(--foreground-lightness)); } </style> </head> <body> <span class="pass">pass</span> <span class="fail">fail</span> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 192922
: 357798 |
357962