Changeset 161673 in webkit


Ignore:
Timestamp:
Jan 10, 2014 1:42:07 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[CSS Blending] Log blending as a layer creation reason in the WI
https://bugs.webkit.org/show_bug.cgi?id=126159

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-01-10
Reviewed by Timothy Hatcher.

Source/WebCore:

  • inspector/InspectorLayerTreeAgent.cpp:

(WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer):

  • inspector/protocol/LayerTree.json:

Source/WebInspectorUI:

  • Localizations/en.lproj/localizedStrings.js:
  • UserInterface/LayerTreeSidebarPanel.js:

(WebInspector.LayerTreeSidebarPanel.prototype._populateListOfCompositingReasons):

Location:
trunk/Source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r161671 r161673  
     12014-01-10  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        [CSS Blending] Log blending as a layer creation reason in the WI
     4        https://bugs.webkit.org/show_bug.cgi?id=126159
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * inspector/InspectorLayerTreeAgent.cpp:
     9        (WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer):
     10        * inspector/protocol/LayerTree.json:
     11
    1122014-01-10  Andy Estes  <aestes@apple.com>
    213
  • trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp

    r160557 r161673  
    308308    if (reasonsBitmask & CompositingReasonRoot)
    309309        compositingReasons->setRoot(true);
     310
     311    if (reasonsBitmask & CompositingReasonBlending)
     312        compositingReasons->setBlending(true);
    310313}
    311314
  • trunk/Source/WebCore/inspector/protocol/LayerTree.json

    r159233 r161673  
    7070                { "name": "perspective", "type": "boolean", "optional": true, "description": "Composition due to association with an element with perspective applied." },
    7171                { "name": "preserve3D", "type": "boolean", "optional": true, "description": "Composition due to association with an element with a \"transform-style: preserve-3d\" style." },
    72                 { "name": "root", "type": "boolean", "optional": true, "description": "Composition due to association with the root element." }
     72                { "name": "root", "type": "boolean", "optional": true, "description": "Composition due to association with the root element." },
     73                { "name": "blending", "type": "boolean", "optional": true, "description": "Composition due to association with an element with a \"blend-mode\" style." }
    7374            ]
    7475        }
  • trunk/Source/WebInspectorUI/ChangeLog

    r161632 r161673  
     12014-01-10  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        [CSS Blending] Log blending as a layer creation reason in the WI
     4        https://bugs.webkit.org/show_bug.cgi?id=126159
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * Localizations/en.lproj/localizedStrings.js:
     9        * UserInterface/LayerTreeSidebarPanel.js:
     10        (WebInspector.LayerTreeSidebarPanel.prototype._populateListOfCompositingReasons):
     11
    1122014-01-10  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
    213
  • trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js

    r160198 r161673  
    150150localizedStrings["Element has “-webkit-overflow-scrolling: touch” style"] = "Element has “-webkit-overflow-scrolling: touch” style";
    151151localizedStrings["Element has “backface-visibility: hidden” style"] = "Element has “backface-visibility: hidden” style";
     152localizedStrings["Element has “blend-mode” style"] = "Element has “blend-mode” style";
    152153localizedStrings["Element has “position: fixed” style"] = "Element has “position: fixed” style";
    153154localizedStrings["Element has “position: sticky” style"] = "Element has “position: sticky” style";
  • trunk/Source/WebInspectorUI/UserInterface/LayerTreeSidebarPanel.js

    r159946 r161673  
    429429        if (compositingReasons.root)
    430430            addReason(WebInspector.UIString("Element is the root element"));
     431        if (compositingReasons.blending)
     432            addReason(WebInspector.UIString("Element has “blend-mode” style"));
    431433    }
    432434};
Note: See TracChangeset for help on using the changeset viewer.