Web Platform Team Blog

Making the web awesome

Archive for the Exclusions Category

CSS Exclusions and Shape Intersection, Revisited

A couple weeks ago, we mentioned shape intersection as one of the interesting engineering problems presented by CSS Exclusions. Hans Muller wrote a blog post outlining an algorithm to compute intersections between horizontal content and arbitrary polygons. Recently, he’s been working on an algorithm calculating intersections with curved exclusion shapes: rounded rectangles, ellipses and circles.... Continue reading →

CSS Exclusions and Shape Intersection

CSS Exclusions promises to open up a new class of magazine-style layouts for the web. As you might imagine, the feature also brings with it a bunch of compelling engineering challenges. One example is efficiently computing the intersection of the horizontal boxes that represent inline content with the inside or outside of polygonal exclusion shapes.... Continue reading →