Skip to content
  • betravis@adobe.com's avatar
    Web Inspector: [CSS Shapes] Support raster shape visualizations · c9f2fded
    betravis@adobe.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124080
    
    Reviewed by Joseph Pecoraro.
    
    Source/WebCore:
    
    Create an inspector visualization for a shape created from an image.
    The visualization takes each line of the image, combining where possible.
    
    Test added to inspector-protocol/model/highlight-shape-outside.html
    
    * rendering/shapes/RasterShape.cpp:
    (WebCore::RasterShapeIntervals::buildBoundsPath): Create a path representing the
    RasterShapeIntervals.
    * rendering/shapes/RasterShape.h:
    
    LayoutTests:
    
    Add a test for data sent to the inspector for a raster shape.
    
    * inspector-protocol/model/highlight-shape-outside-expected.txt:
    * inspector-protocol/model/highlight-shape-outside.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c9f2fded