WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 177684
Cannot unset transition with important
https://bugs.webkit.org/show_bug.cgi?id=177684
Summary
Cannot unset transition with important
Justin Ridgewell
Reported
2017-09-29 14:25:45 PDT
Created
attachment 322231
[details]
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 = ''`)
Attachments
unset transition important breaks
(707 bytes, text/html)
2017-09-29 14:25 PDT
,
Justin Ridgewell
no flags
Details
Patch
(1.50 KB, patch)
2018-05-17 02:00 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(6.47 KB, patch)
2018-05-17 05:10 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(10.54 KB, patch)
2018-05-17 11:26 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews206 for win-future
(12.74 MB, application/zip)
2018-05-17 14:14 PDT
,
EWS Watchlist
no flags
Details
Patch
(10.52 KB, patch)
2018-05-17 23:21 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-10-03 01:02:34 PDT
<
rdar://problem/34785714
>
Justin Ridgewell
Comment 2
2018-05-08 13:31:22 PDT
Also noticed that you can't use CSSStyleDeclaration.removeProperty to unset it, either. It also returns "", instead of the old value.
Rob Buis
Comment 3
2018-05-17 02:00:06 PDT
Created
attachment 340565
[details]
Patch
EWS Watchlist
Comment 4
2018-05-17 02:01:14 PDT
Attachment 340565
[details]
did not pass style-queue: ERROR: Source/WebCore/ChangeLog:10: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Rob Buis
Comment 5
2018-05-17 05:10:42 PDT
Created
attachment 340575
[details]
Patch
Frédéric Wang (:fredw)
Comment 6
2018-05-17 05:32:35 PDT
Comment on
attachment 340575
[details]
Patch Thanks, LGTM! I was checking WPT and Chromium repositories and it seems they have the same "cssom-remove-shorthand-property.html" as in WebKit:
https://github.com/w3c/web-platform-tests/blob/master/css/cssom/cssom-setProperty-shorthand.html
https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/fast/css/cssom-remove-shorthand-property.html
So I would instead propose to check the !important case in the same WPT file and remove the duplicate from the WebKit/Chromium repository.
Frédéric Wang (:fredw)
Comment 7
2018-05-17 05:33:41 PDT
Comment on
attachment 340575
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=340575&action=review
> LayoutTests/fast/css/cssom-remove-important-shorthand-property.html:45 > +description("Tests that shorthand properties can be removed via CSSOM.");
Mmh, my comment was lost in the previous review... I wanted to say that you should mention !important in the desc.
Rob Buis
Comment 8
2018-05-17 11:26:31 PDT
Created
attachment 340609
[details]
Patch
Chris Dumez
Comment 9
2018-05-17 11:31:59 PDT
Comment on
attachment 340609
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=340609&action=review
r=me
> Source/WebCore/ChangeLog:1 > +2018-05-17 Rob Buis <
rbuis@igalia.com
>
Rob with an Igalia email. Can believe I missed that :)
Chris Dumez
Comment 10
2018-05-17 11:32:37 PDT
(In reply to Chris Dumez from
comment #9
)
> Comment on
attachment 340609
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=340609&action=review
> > r=me > > > Source/WebCore/ChangeLog:1 > > +2018-05-17 Rob Buis <
rbuis@igalia.com
> > > Rob with an Igalia email. Can believe I missed that :)
*Cannot* believe..
Rob Buis
Comment 11
2018-05-17 11:45:09 PDT
(In reply to Chris Dumez from
comment #10
)
> (In reply to Chris Dumez from
comment #9
) > > Comment on
attachment 340609
[details]
> > Patch > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=340609&action=review
> > > > r=me
Thanks!
> > > Source/WebCore/ChangeLog:1 > > > +2018-05-17 Rob Buis <
rbuis@igalia.com
> > > > > Rob with an Igalia email. Can believe I missed that :) > > *Cannot* believe..
You better believe it! :) Since the start of the month and I am slowly getting back into the swing of things...
EWS Watchlist
Comment 12
2018-05-17 14:14:08 PDT
Comment on
attachment 340609
[details]
Patch
Attachment 340609
[details]
did not pass win-ews (win): Output:
http://webkit-queues.webkit.org/results/7713981
New failing tests: http/tests/security/canvas-remote-read-remote-video-localhost.html
EWS Watchlist
Comment 13
2018-05-17 14:14:19 PDT
Created
attachment 340641
[details]
Archive of layout-test-results from ews206 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews206 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Rob Buis
Comment 14
2018-05-17 23:21:55 PDT
Created
attachment 340681
[details]
Patch
EWS Watchlist
Comment 15
2018-05-18 11:59:47 PDT
Comment on
attachment 340681
[details]
Patch Rejecting
attachment 340681
[details]
from review queue.
rbuis@igalia.com
does not have reviewer permissions according to
https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json
. - If you do not have reviewer rights please read
http://webkit.org/coding/contributing.html
for instructions on how to use bugzilla flags. - If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your reviewer rights.
EWS Watchlist
Comment 16
2018-05-18 12:00:20 PDT
Comment on
attachment 340681
[details]
Patch Rejecting
attachment 340681
[details]
from commit-queue.
rbuis@igalia.com
does not have committer permissions according to
https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json
. - If you do not have committer rights please read
http://webkit.org/coding/contributing.html
for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
WebKit Commit Bot
Comment 17
2018-05-18 18:51:03 PDT
Comment on
attachment 340681
[details]
Patch Rejecting
attachment 340681
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 340681, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in LayoutTests/imported/w3c/ChangeLog contains OOPS!. Full output:
http://webkit-queues.webkit.org/results/7728288
WebKit Commit Bot
Comment 18
2018-05-18 21:05:11 PDT
Comment on
attachment 340681
[details]
Patch Clearing flags on attachment: 340681 Committed
r231995
: <
https://trac.webkit.org/changeset/231995
>
WebKit Commit Bot
Comment 19
2018-05-18 21:05:13 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug