WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
168854
Web Inspector: RTL: add support for Bezier/Spring editor
https://bugs.webkit.org/show_bug.cgi?id=168854
Summary
Web Inspector: RTL: add support for Bezier/Spring editor
Devin Rousso
Reported
2017-02-24 16:30:48 PST
Created
attachment 302704
[details]
[Image] Screenshot of Issue .
Attachments
[Image] Screenshot of Issue
(16.69 KB, image/png)
2017-02-24 16:30 PST
,
Devin Rousso
no flags
Details
Patch
(7.19 KB, patch)
2017-02-24 16:50 PST
,
Devin Rousso
bburg
: review+
Details
Formatted Diff
Diff
[Image] After Patch is applied
(18.46 KB, image/png)
2017-02-24 16:52 PST
,
Devin Rousso
no flags
Details
Patch
(7.39 KB, patch)
2017-02-24 23:49 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2017-02-24 16:50:59 PST
Created
attachment 302710
[details]
Patch
Devin Rousso
Comment 2
2017-02-24 16:52:48 PST
Created
attachment 302711
[details]
[Image] After Patch is applied
Blaze Burg
Comment 3
2017-02-24 22:13:46 PST
Comment on
attachment 302710
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=302710&action=review
r=me
> Source/WebInspectorUI/UserInterface/Views/BezierEditor.css:36 > + --bezier-editor-preview-translateX: -170px;
Please split this into a base variable then derive the ltr and rtl ones as calc(-1 * var(--bezier-editor-preview-offset-start)) for RTL or 1 for LTR.
> Source/WebInspectorUI/UserInterface/Views/BezierEditor.css:141 > + padding-left: 1px;
Use a variable.
> Source/WebInspectorUI/UserInterface/Views/SpringEditor.css:73 > + left: 0;
Use a variable.
> Source/WebInspectorUI/UserInterface/Views/SpringEditor.css:110 > + text-align: right;
This is unnecessary. Use value 'end' and you can remove the dir-dependent rule split.
> Source/WebInspectorUI/UserInterface/Views/SpringEditor.js:227 > + this._previewElement.style.transform = "translateX(-85px)";
Why can't we use the 170px base variable from above?
Devin Rousso
Comment 4
2017-02-24 23:49:49 PST
Comment on
attachment 302710
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=302710&action=review
>> Source/WebInspectorUI/UserInterface/Views/SpringEditor.js:227 >> + this._previewElement.style.transform = "translateX(-85px)"; > > Why can't we use the 170px base variable from above?
The animation for the preview stops halfway across the available space to give room for the "spring" to show its effect. If it went all the way across the preview area, then the "spring" wouldn't be visible.
Devin Rousso
Comment 5
2017-02-24 23:49:55 PST
Created
attachment 302746
[details]
Patch
WebKit Commit Bot
Comment 6
2017-02-25 00:46:32 PST
Comment on
attachment 302746
[details]
Patch Clearing flags on attachment: 302746 Committed
r213002
: <
http://trac.webkit.org/changeset/213002
>
WebKit Commit Bot
Comment 7
2017-02-25 00:46:36 PST
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