Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Css takes precedence over attributes and inline style #170

Open
eriese opened this issue Dec 13, 2022 · 0 comments · May be fixed by #171
Open

Css takes precedence over attributes and inline style #170

eriese opened this issue Dec 13, 2022 · 0 comments · May be fixed by #171

Comments

@eriese
Copy link

eriese commented Dec 13, 2022

Expected behavior:
precedence order of attributes, inline style, then css

//source.js line 1325
for (let i = 0; i < 3; i++) {
          switch (i) {
            case 0:
              if (key !== 'transform') { // the CSS transform behaves strangely
                value = this.css[keyInfo.css || key];
              }
              break;
            case 1:
              value = this.style[key];
              break;
            case 2:
              value = this.attr(key);
              break;
          }
@eriese eriese linked a pull request Dec 13, 2022 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant