-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zoom + / - breaks webaudiocontrols with chrome 66 #27
Comments
Just found this: "Note: As of Chrome 66 – three-part syntax for background-positions are being deprecated due to parsing ambiguities … see here and [here] (https://drafts.csswg.org/css-values-4/#ref-for-propdef-background-position%E2%91%A0). So If I understand correctly: background-position: right 45px bottom; will have to be changed to background-position: right 45px bottom 0;" |
It's not that (see my test here: http://jsbin.com/keqafoc/edit?html,js,console,output), it's related to CSS inside the WebComponent... |
I tested it, I think that this is a Chrome CSS bug. |
Ok, this is a bug in Chrome. I filled an issue (cf https://bugs.chromium.org/p/chromium/issues/detail?id=835855&can=2&start=0&num=100&q=&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified&groupby=&sort=) And I have also a quick fix: just add one line to redraw() { ...} in webaudiocontrols.js to reset the backgroundSize CSS property. Here the new code (only one line to change): redraw() {
|
Above fix is wrong, and works only in some cases. Forget about it... Indeed, it's related to a CSS bug. Il filled an issue in the chromium bug reporting tool.... if you find a temporary fix, good, I have plenty of demos tomorrow and it's a shame that I can't use the zoom.... |
Ok, a fix is on its way in Chronme, see comment 10 of https://bugs.chromium.org/p/chromium/issues/detail?id=835855 But apparently if they revert to the old code, it breaks many other things... so the fix can take some time to arrive in Chrome... |
I have pushed a workaround that use 'px' instead of '%'. This workaround is roughly okay, but still knobs are slightly shifted in some zoom state such as 67%. |
Argl... Chrome devs really failed with chrome 66, this bug + the autoplay
policy that broke nearly all wwebaudio apps.... Thanks a lot for your fix
!!!
Le mar. 24 avr. 2018 à 18:01, g200kg <[email protected]> a écrit :
… I have pushed a workaround that use 'px' instead of '%'. This workaround
is roughly okay, but still knobs are slightly shifted in some zoom state
such as 67%.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAnl2Nhtbk0gLsGZVQcOGFEf6PNvDGDqks5tr0xdgaJpZM4Tf2TK>
.
|
Hi, all sprites got translated when I use the zoom on webpages with webaudiocontrols... with chrome 66. I don't know if this is a browser bug or a problem with css/webcomponents...
The text was updated successfully, but these errors were encountered: