Make the Shape class use the value of the shape-image-threshold property. The spec for this property is http://dev.w3.org/csswg/css-shapes-1/#shape-image-threshold-property
Created attachment 213250 [details] Patch Replace the hardwired 0 Shape::createShape() threshold parameter with the style's shapeImageThreshold() value (which has been clamped to [0,1]).
Comment on attachment 213250 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=213250&action=review r=me > Source/WebCore/rendering/shapes/ShapeInfo.cpp:62 > - m_shape = Shape::createShape(shapeValue->image(), 0, m_shapeLogicalSize, writingMode, margin, padding); > + m_shape = Shape::createShape(shapeValue->image(), shapeImageThreshold, m_shapeLogicalSize, writingMode, margin, padding); Maybe Shape::createShape() should ASSERT that shapeImageThreshold is between 0 and 1?
Comment on attachment 213250 [details] Patch Clearing flags on attachment: 213250 Committed r156852: <http://trac.webkit.org/changeset/156852>
All reviewed patches have been landed. Closing bug.