- Notifications
You must be signed in to change notification settings - Fork20.6k
Closed
Labels
Milestone
Description
Description
The compatibility of different browsers should be considered about test casecss(--customProperty)
$elem.css( "--prop2" )
has different val on different browsers:
- firefox 91:
$elem.css( "--prop2" ) => 'val2'
- chrome 93:
$elem.css( "--prop2" ) => ' val2'
- edge 93:
$elem.css( "--prop2" ) => ' val2'
As i know,jQuery.css
is based ongetComputedStyle
andgetPropertyValue
, and that have different behaves on different browsers.
Link to test case
Please open test case bellow use different browsers and attention the value of--prop2