Changeset 248893 in webkit


Ignore:
Timestamp:
Aug 19, 2019 11:09:34 PM (5 years ago)
Author:
Devin Rousso
Message:

Web Inspector: REGRESSION(r248682): Elements: Computed: go-to arrows in the Variables section are misaligned
https://bugs.webkit.org/show_bug.cgi?id=200841

Reviewed by Joseph Pecoraro.

The Variables section uses a different CSS class since it's identifier changed in r248682.

  • UserInterface/Views/ComputedStyleDetailsPanel.css:

(.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables)): Added.
(.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property): Added.
(.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property .go-to-arrow): Added.
(.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property:not(:hover) .go-to-arrow): Added.
(.sidebar > .panel.details.css-style > .content > .computed .computed-style-properties): Deleted.
(.sidebar > .panel.details.css-style > .content > .computed .computed-style-properties .property .go-to-arrow): Deleted.
(.sidebar > .panel.details.css-style > .content > .computed .computed-style-properties .property:hover .go-to-arrow): Deleted.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r248890 r248893  
     12019-08-19  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: REGRESSION(r248682): Elements: Computed: go-to arrows in the Variables section are misaligned
     4        https://bugs.webkit.org/show_bug.cgi?id=200841
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        The Variables section uses a different CSS class since it's identifier changed in r248682.
     9
     10        * UserInterface/Views/ComputedStyleDetailsPanel.css:
     11        (.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables)): Added.
     12        (.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property): Added.
     13        (.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property .go-to-arrow): Added.
     14        (.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property:not(:hover) .go-to-arrow): Added.
     15        (.sidebar > .panel.details.css-style > .content > .computed .computed-style-properties): Deleted.
     16        (.sidebar > .panel.details.css-style > .content > .computed .computed-style-properties .property .go-to-arrow): Deleted.
     17        (.sidebar > .panel.details.css-style > .content > .computed .computed-style-properties .property:hover .go-to-arrow): Deleted.
     18
    1192019-08-19  Devin Rousso  <drousso@apple.com>
    220
  • trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.css

    r248681 r248893  
    2929}
    3030
    31 .sidebar > .panel.details.css-style > .content > .computed .computed-style-properties {
     31.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) {
    3232    --disclosure-button-size: 15px;
    3333}
    3434
    35 .sidebar > .panel.details.css-style > .content > .computed .computed-style-properties .property .go-to-arrow {
    36     display: none;
     35.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property {
     36    position: relative;
     37}
     38
     39.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property .go-to-arrow {
    3740    position: absolute;
     41    bottom: 0;
    3842    width: var(--disclosure-button-size);
    3943    height: var(--disclosure-button-size);
    40     vertical-align: text-bottom;
    4144}
    4245
    43 .sidebar > .panel.details.css-style > .content > .computed .computed-style-properties .property:hover .go-to-arrow {
    44     display: initial;
     46.sidebar > .panel.details.css-style > .content > .computed .details-section:matches(.computed-style-properties, .computed-style-variables) .property:not(:hover) .go-to-arrow {
     47    display: none;
    4548}
    4649
Note: See TracChangeset for help on using the changeset viewer.