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
190379
Web Inspector: add corner rounding to the network timing "blocks"
https://bugs.webkit.org/show_bug.cgi?id=190379
Summary
Web Inspector: add corner rounding to the network timing "blocks"
Devin Rousso
Reported
2018-10-08 16:29:20 PDT
They could use some "style" :P
Attachments
Patch
(4.19 KB, patch)
2018-10-08 23:35 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
[Image] After Patch is applied
(30.35 KB, image/png)
2018-10-08 23:35 PDT
,
Devin Rousso
no flags
Details
Patch
(2.24 KB, patch)
2018-10-09 22:14 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
[Image] After Patch is applied
(28.95 KB, image/png)
2018-10-09 22:15 PDT
,
Devin Rousso
no flags
Details
Patch
(2.38 KB, patch)
2018-10-10 11:34 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2018-10-08 23:35:38 PDT
Created
attachment 351864
[details]
Patch
Devin Rousso
Comment 2
2018-10-08 23:35:57 PDT
Created
attachment 351865
[details]
[Image] After Patch is applied
Devin Rousso
Comment 3
2018-10-09 22:14:38 PDT
Created
attachment 351943
[details]
Patch
Devin Rousso
Comment 4
2018-10-09 22:15:28 PDT
Created
attachment 351945
[details]
[Image] After Patch is applied I took another look at this, and I think it looks better when the radius rounding is only at the beginning/end of the entire "range" of blocks.
Devin Rousso
Comment 5
2018-10-10 11:34:46 PDT
Created
attachment 351977
[details]
Patch Also apply the rounding to the `WI.ResourceTimingBreakdownView`.
Matt Baker
Comment 6
2018-10-10 12:18:03 PDT
(In reply to Devin Rousso from
comment #4
)
> Created
attachment 351945
[details]
> [Image] After Patch is applied > > I took another look at this, and I think it looks better when the radius > rounding is only at the beginning/end of the entire "range" of blocks.
Zooming in closely on the attached screenshot, it looks like there are still gaps due to rounding being applied to segments other than the first/last segment.
Devin Rousso
Comment 7
2018-10-10 13:42:23 PDT
(In reply to Matt Baker from
comment #6
)
> (In reply to Devin Rousso from
comment #4
) > > Created
attachment 351945
[details]
> > [Image] After Patch is applied > > > > I took another look at this, and I think it looks better when the radius > > rounding is only at the beginning/end of the entire "range" of blocks. > > Zooming in closely on the attached screenshot, it looks like there are still > gaps due to rounding being applied to segments other than the first/last > segment.
That is actually a legitimate difference in timing between resource timing phases. The spec doesn't guarantee that each phase will exactly line up with the previous/next phase. As such, there may be gaps (this was why a line was added behind all the blocks in <
https://webkit.org/b/150005
>). This patch focuses on rounding out the corners of the beginning/end blocks, not snapping items together in the middle (<
https://webkit.org/b/190439
>).
Timothy Hatcher
Comment 8
2018-10-17 12:43:42 PDT
Comment on
attachment 351977
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=351977&action=review
> Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css:198 > +.network-table .waterfall .block + .block { > + --start-radius: 0; > + --end-radius: 0; > +}
Does this work if they are not visually together? Is there a spacer element in the middle in that case or something?
Devin Rousso
Comment 9
2018-10-17 13:36:08 PDT
Comment on
attachment 351977
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=351977&action=review
>> Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css:198 >> +} > > Does this work if they are not visually together? Is there a spacer element in the middle in that case or something?
Yes, there is a "track" behind all of the blocks. You can see how this looks in
attachment 351945
[details]
by looking at the 4th and 7th rows.
Matt Baker
Comment 10
2018-10-17 14:12:01 PDT
What about using a slightly smaller border-radius for the smaller part of the track? The first part of the bar looks much "rounder" than the second part, since the ratio of border-radius to segment height is closer to 1.
WebKit Commit Bot
Comment 11
2018-10-25 16:10:06 PDT
Comment on
attachment 351977
[details]
Patch Clearing flags on attachment: 351977 Committed
r237432
: <
https://trac.webkit.org/changeset/237432
>
WebKit Commit Bot
Comment 12
2018-10-25 16:10:08 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 13
2018-10-25 16:11:29 PDT
<
rdar://problem/45570622
>
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