Changeset 237432 in webkit


Ignore:
Timestamp:
Oct 25, 2018 4:09:59 PM (6 years ago)
Author:
Devin Rousso
Message:

Web Inspector: add corner rounding to the network timing "blocks"
https://bugs.webkit.org/show_bug.cgi?id=190379

Reviewed by Timothy Hatcher.

  • UserInterface/Views/NetworkTableContentView.css:

(.waterfall .block):
(body[dir=ltr] .waterfall .block): Added.
(body[dir=rtl] .waterfall .block): Added.
(.network-table .waterfall .block + .block): Added.
(.network-table .waterfall .block.filler + .block, .network-table .waterfall .block:not(.request, .response) + :matches(.request, .response)): Added.
(.network-table .waterfall .block:last-child): Added.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r237431 r237432  
     12018-10-25  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: add corner rounding to the network timing "blocks"
     4        https://bugs.webkit.org/show_bug.cgi?id=190379
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/NetworkTableContentView.css:
     9        (.waterfall .block):
     10        (body[dir=ltr] .waterfall .block): Added.
     11        (body[dir=rtl] .waterfall .block): Added.
     12        (.network-table .waterfall .block + .block): Added.
     13        (.network-table .waterfall .block.filler + .block, .network-table .waterfall .block:not(.request, .response) + :matches(.request, .response)): Added.
     14        (.network-table .waterfall .block:last-child): Added.
     15
    1162018-10-25  Devin Rousso  <drousso@apple.com>
    217
  • trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css

    r237431 r237432  
    207207    min-width: 2px;
    208208    height: 4px;
     209
     210    --start-radius: 2px;
     211    --end-radius: 2px;
     212}
     213
     214body[dir=ltr] .waterfall .block {
     215    border-top-left-radius: var(--start-radius);
     216    border-top-right-radius: var(--end-radius);
     217    border-bottom-left-radius: var(--start-radius);
     218    border-bottom-right-radius: var(--end-radius);
     219}
     220
     221body[dir=rtl] .waterfall .block {
     222    border-top-left-radius: var(--end-radius);
     223    border-top-right-radius: var(--start-radius);
     224    border-bottom-left-radius: var(--end-radius);
     225    border-bottom-right-radius: var(--start-radius);
     226}
     227
     228.network-table .waterfall .block + .block {
     229    --start-radius: 0;
     230    --end-radius: 0;
     231}
     232
     233.network-table .waterfall .block.filler + .block,
     234.network-table .waterfall .block:not(.request, .response) + :matches(.request, .response) {
     235    --start-radius: 2px;
     236}
     237
     238.network-table .waterfall .block:last-child {
     239    --end-radius: 2px;
    209240}
    210241
Note: See TracChangeset for help on using the changeset viewer.