WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
200321
[results.webkit.org] Timeline.CanvasXAxisComponent height should be defined by option
https://bugs.webkit.org/show_bug.cgi?id=200321
Summary
[results.webkit.org] Timeline.CanvasXAxisComponent height should be defined b...
Zhifei Fang
Reported
2019-07-31 14:54:29 PDT
Timeline.CanvasXAxisComponent height should be defined by option, this will make user more flexible to define the timeline axis.
Attachments
Patch
(3.95 KB, patch)
2019-07-31 16:10 PDT
,
Zhifei Fang
no flags
Details
Formatted Diff
Diff
Patch
(3.54 KB, patch)
2019-07-31 16:34 PDT
,
Zhifei Fang
no flags
Details
Formatted Diff
Diff
Patch
(3.49 KB, patch)
2019-08-01 10:26 PDT
,
Zhifei Fang
no flags
Details
Formatted Diff
Diff
Patch
(3.49 KB, patch)
2019-08-01 13:56 PDT
,
Zhifei Fang
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Zhifei Fang
Comment 1
2019-07-31 16:10:19 PDT
Created
attachment 375264
[details]
Patch
Zhifei Fang
Comment 2
2019-07-31 16:34:34 PDT
Created
attachment 375265
[details]
Patch
Jonathan Bedard
Comment 3
2019-08-01 07:44:11 PDT
Comment on
attachment 375265
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=375265&action=review
> Tools/ChangeLog:9 > + Let the axis' height can be defined in the option. time line
Nit: 'Let the axis' height be defined in the option object.'
> Tools/ChangeLog:10 > + Compoenent will read these height and automatically set the height for
I think this should be 'The timeline component will use this value to set the padding-top for headers, which allows headers to start in the correct position even with multiple top axises.'
> Tools/resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js:512 > + const canvasHeight = typeof option.height === "number" ? option.height : parseInt(computedStyle.getPropertyValue('--smallSize')) * 5;
This changer makes the default canvasHeight larger too, right?
Zhifei Fang
Comment 4
2019-08-01 10:24:11 PDT
(In reply to Jonathan Bedard from
comment #3
)
> Comment on
attachment 375265
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=375265&action=review
> > > Tools/ChangeLog:9 > > + Let the axis' height can be defined in the option. time line > > Nit: 'Let the axis' height be defined in the option object.' > > > Tools/ChangeLog:10 > > + Compoenent will read these height and automatically set the height for > > I think this should be 'The timeline component will use this value to set > the padding-top for headers, which allows headers to start in the correct > position even with multiple top axises.' > > > Tools/resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js:512 > > + const canvasHeight = typeof option.height === "number" ? option.height : parseInt(computedStyle.getPropertyValue('--smallSize')) * 5; > > This changer makes the default canvasHeight larger too, right?
Yes
Zhifei Fang
Comment 5
2019-08-01 10:26:13 PDT
Created
attachment 375322
[details]
Patch
Jonathan Bedard
Comment 6
2019-08-01 11:39:33 PDT
Comment on
attachment 375322
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=375322&action=review
> Tools/ChangeLog:9 > + Let the axis' height be defined in the option. Timeine compoenent will use this value to
Nit: 'component' Nit: 'use this value as padding-top'
Zhifei Fang
Comment 7
2019-08-01 13:56:01 PDT
Created
attachment 375342
[details]
Patch
WebKit Commit Bot
Comment 8
2019-08-01 14:45:48 PDT
Comment on
attachment 375342
[details]
Patch Clearing flags on attachment: 375342 Committed
r248134
: <
https://trac.webkit.org/changeset/248134
>
WebKit Commit Bot
Comment 9
2019-08-01 14:45:49 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10
2019-08-01 14:46:18 PDT
<
rdar://problem/53833251
>
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