WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
39938
provide a webkit equivalent for -moz-border-*-colors (multiple border colors)
https://bugs.webkit.org/show_bug.cgi?id=39938
Summary
provide a webkit equivalent for -moz-border-*-colors (multiple border colors)
Giorgio
Reported
2010-05-30 20:54:35 PDT
hi, some months ago I've suggested to include multiple borders in the css3 spec without success i think that to use XBL for multiple borders is absolutely stressful in Mozilla XUL's style these properties are used frequently -moz-border-top-colors:; -moz-border-left-colors:; -moz-border-right-colors:; -moz-border-bottom-colors:; to define multiple border colors for widgets and flexbox web app are coming, and I'm in one team that is developing a next generation web gui framework, so, for parity, i hope to see this (or better implementations) in Webkit, all the alternative solutions (border-image, xbl) are crazy to use just for borders
http://www.css3.info/preview/colored-border/
thank you for your work! greetings from italy
Attachments
Add attachment
proposed patch, testcase, etc.
Giorgio
Comment 1
2010-05-30 22:26:11 PDT
an interesting solution can be use box shadows but with rgba and hsla colors outer shadow color is mixed with the inner shadow color test this: <style> .test { -webkit-box-shadow: 0 0 0 10px rgba(255,0,0,0.5) , 0 0 0 20px rgba(0,255,0,0.5) ; margin:30px; } </style> <div class="test">test</div> inner shadow (red) is mixed with the outer shadow color (green) so in the box-shadow property can provide a way to set the outset position of the shadow for example... -webkit-box-shadow: 0 0 0 10px rgba(255,0,0,0.5) , 0 0 0 10px [10px 10px 10px 10px] rgba(0,255,0,0.5) ;
Giorgio
Comment 2
2010-05-30 22:34:43 PDT
or box-shadow can provide a way to enable and disabled the blending box-shadow-blend:true||false (sorry for multiple posting)
Ahmad Saleem
Comment 3
2022-06-20 17:01:28 PDT
Based on following -
https://caniuse.com/?search=border-color
Webkit / Safari do support CSS3 property "border-color" except Mozilla's non-standard one and I can test it on below link:
https://developer.mozilla.org/en-US/docs/Web/CSS/border-color
Although on CSS3test.com, it does not show as "Green" (highlighting support). Web Spec link -
https://www.w3.org/TR/css-backgrounds-3/#propdef-border-color
Considering MDN demo and CANIUSE confirm that Webkit/Safari support standard specific "border-color" property, I think this can be closed as "RESOLVED INVALID" or "RESOLVED DUPLICATE OF XYZ". Thanks!
Radar WebKit Bug Importer
Comment 4
2022-06-20 17:01:56 PDT
<
rdar://problem/95558324
>
Ryosuke Niwa
Comment 5
2022-06-20 22:15:46 PDT
We definitely support border-color.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug