Web Platform Team Blog



Making the web awesome

Archive for the Exclusions Category

Video about CSS Regions and CSS Exclusions at Kings of Code

In December of 2012 I got a chance to speak at the Kings of Code conference in Amsterdam about digital publishing on the web. My talk touched a bit on the current state of digital publishing for devices and how it got to this point. The bulk of the talk covered the pros and cons... 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 →

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. 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 demos, on the samples page. Hans Muller has written in much greater detail what shape-inside would allow you... 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 →