WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
199411
Web Inspector: Elements: use a CSS transition when showing/hiding DOM breakpoint gutter
https://bugs.webkit.org/show_bug.cgi?id=199411
Summary
Web Inspector: Elements: use a CSS transition when showing/hiding DOM breakpo...
Matt Baker
Reported
2019-07-02 10:57:19 PDT
.
Attachments
[Video] 200ms ease-in-out
(628.09 KB, video/mp4)
2019-07-02 10:57 PDT
,
Matt Baker
no flags
Details
Patch
(1.32 KB, patch)
2019-07-02 10:58 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Matt Baker
Comment 1
2019-07-02 10:57:55 PDT
Created
attachment 373340
[details]
[Video] 200ms ease-in-out
Matt Baker
Comment 2
2019-07-02 10:58:52 PDT
Created
attachment 373341
[details]
Patch
Nikita Vasilyev
Comment 3
2019-07-02 12:50:47 PDT
Comment on
attachment 373341
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=373341&action=review
This is really neat!
> Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.css:32 > + transition: padding 200ms ease-in-out;
Nit: I'd prefer to be more explicit: `transition: -webkit-padding-start 200ms ease-in-out`
Matt Baker
Comment 4
2019-07-02 14:59:53 PDT
Comment on
attachment 373341
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=373341&action=review
>> Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.css:32 >> + transition: padding 200ms ease-in-out; > > Nit: I'd prefer to be more explicit: `transition: -webkit-padding-start 200ms ease-in-out`
I agree. Unfortunately while `padding-left` works as a transition property, `-webkit-padding-start` does not. We could revert to the bad ol' days of body[dir=ltr/rtl], and provide a more narrowly scoped CSS transition, but that feels like overkill.
Devin Rousso
Comment 5
2019-07-05 12:27:21 PDT
I'm on the fence as to whether I like adding these kinds of `transition`s. On one hand, it makes it nice and smooth and feels less jarring (like the content is "added" instead of just "appearing"). On the other hand, if I'm constantly adding/removing DOM breakpoints, seeing that animation over and over may get annoying or too "slow". I'm inclined to lean towards the former, but I'd like to hear if anyone else has an opinion before r+ing.
Timothy Hatcher
Comment 6
2019-07-05 12:29:42 PDT
I like it.
Devin Rousso
Comment 7
2019-07-05 12:34:10 PDT
Comment on
attachment 373341
[details]
Patch (In reply to Timothy Hatcher from
comment #6
)
> I like it.
Ok, then r=me :P
WebKit Commit Bot
Comment 8
2019-07-05 13:06:53 PDT
Comment on
attachment 373341
[details]
Patch Clearing flags on attachment: 373341 Committed
r247169
: <
https://trac.webkit.org/changeset/247169
>
WebKit Commit Bot
Comment 9
2019-07-05 13:06:54 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