[Webkit-unassigned] [Bug 177684] New: Cannot unset transition with important
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 29 14:25:45 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=177684
Bug ID: 177684
Summary: Cannot unset transition with important
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jridgewell at google.com
Created attachment 322231
--> https://bugs.webkit.org/attachment.cgi?id=322231&action=review
unset transition important breaks
Setting `transition: none !important` (or any valid transition value) using inline styles (CSSStyleDeclaration#setProperty) prevents directly unsetting the style (`el.style.transition = ''`).
A workaround is to set a valid non-important style first, then unset (`el.style.transition = 'none', el.style.transition = ''`)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170929/486f084f/attachment.html>
More information about the webkit-unassigned
mailing list