IDL compiler: static methods

BUG=239771
NOTRY=true

Review URL: https://codereview.chromium.org/54293007

git-svn-id: svn://svn.chromium.org/blink/trunk@161298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Shapes] image valued shape element margin can cause an ASSERT fail

When margin-top is specified for a shape's element, the Y coordinates passed to RasterShapeIntervals::getExcludedIntervals() may be negative. This is because the incoming logical coordinates are relative to the content or padding box, depending on the box-sizing property. The RasterShape::getExcludedIntervals() method now clips the incoming Y coordinates to the shape's bounds.
 
BUG=314786

Review URL: https://codereview.chromium.org/57463010

git-svn-id: svn://svn.chromium.org/blink/trunk@161299 bbb929c8-8fbe-4397-9dbb-9b2b20218538