Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The compatibility of different browsers should be considered about test case css(--customProperty) #4926

Closed
@fecore1

Description

@fecore1

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

https://codepen.io/fecore1/pen/KKqNxQx

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp