Web Platform Team Blog

Adobe

decor

Making the web awesome

Posts Tagged exclusions

Freeing the Floats of the Future From the Tyranny of the Rectangle

With modern web layout you can have your content laid out in whatever shape you want as long as it’s a rectangle. Designers in other media have long been able to have text and other content lay out inside and around arbitrarily complex shapes. The CSS Exclusions, CSS Shapes Level 1, and CSS Shapes Level... Continue reading →

Exclusion Shape Coordinates Get Logical

Until recently, the code for calculating intersections between lines and exclusion shapes was using its own coordinate system. This was in addition to the two main coordinate systems used in WebKit, physical and logical (sometimes called abstract) from the CSS Writing Modes Specification. After some mulling, Hans decided to do some additional up-front processing and... Continue reading →

Exclusions Layout: First Fit Revisited

A couple of posts back, Hans Muller began outlining an algorithm for determining where to start layout within complex shapes. His initial algorithm only determined what positions were candidates for beginning layout. Recently, he has completed the algorithm to select the correct position. Check out his blog for the details and an awesome demo. Continue reading →