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 →
Archive for the Exclusions Category
First Fit Layout Location for Rounded Rectangles
In the past, Hans has explained the first-fit layout algorithm for polygonal shaped exclusions. This algorithm is used to find the topmost location that a content box can fit into. Now he has written up a post on using the first-fit algorithm on rounded rectangle shapes. Interestingly enough, rounded rectangles do not only include rectangles with rounded corners;... Continue reading →
More TPAC 2012
As Dirk mentioned earlier, we had quite a few people from the Web Platform team at Adobe attend TPAC this year. Here’s my summary of what happened for the Regions and Exclusions specifications at the CSS Working Group meeting. Exclusions Rossen Atanassov from Microsoft led this discussion. The working group resolved to close several old... Continue reading →
Exclusions & internal co-ordinate system
Hans has been working on implementing Exclusions for WebKit and has been writing a series of blog posts that outline the rationale for the choices he made while implementing the features. This week he discusses the rationale for why Exclusion Shapes have their own internal co-ordinate system. WeKit has two kinds of co-ordinate systems –... Continue reading →
CSS Exclusions Now Available Under Flag in Chrome Canary
Chrome Canary now has a flag to enable CSS Exclusions. In Canary, enter “about:flags” in the address bar, find “Enable experimental WebKit features”, click “Enable”, and relaunch Canary. Note that the implementation of this feature is still in progress, and currently only a subset of shape-inside functionality is available. You can find more information, and... Continue reading →
Notes from the August 2012 CSS Working Group San Diego Meeting
The W3C CSS Working Group met in San Diego on August 13-15. Vincent Hardy, Steve Zilles and myself were representing Adobe. Quite a lot was accomplished in three short days. The full meeting notes will be available soon from the CSS WG Blog. There is always a flurry of activity in the working group in... 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 →
Web Platform Roundup
As you can probably tell from the constant posts, we over at the Web Platform team like to talk about our work. After all, we think the contributions we’re making to the web are pretty cool. But we only know we’re making a difference when the community at large starts talking. The following is a... Continue reading →
Finding the First Layout Location Within a Polygonal CSS Exclusion Shape
Hans Muller has been investigating how to layout inline text within or around a CSS Exclusion Shape. Previously, he wrote about an algorithm that would help detecting the text rectangle that would intersect a CSS Exclusion shape outside or within. Recently he’s been working to solve a related problem, finding the initial location to begin laying... Continue reading →
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 →