Web Platform Team Blog

Making the web awesome

Monthly Archives: December, 2012

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 →

Making of The Graphical Web

The Quest for the Graphical Web is an experimental interactive presentation that tells a brief story of how the web is improving visually. The presentation itself is built with the same features described in the story: CSS, Canvas, SVG, WebGL, Custom Filters and more. You can now watch the “making of” video of The Quest... Continue reading →

Posted in News | Comments Off on Making of The Graphical Web

CSS Regions Auto-size

The CSS Regions implementation in WebKit has grown by an important but less obvious feature: it is now possible to have regions which auto-size themselves based on the constraints of the content that flows inside them. Until recently, elements which are regions – the ones which have the flow-from CSS property – required the developer... Continue reading →

Posted in Regions | Comments Off on CSS Regions Auto-size

Web to Print and seeing your work live, on paper

The surprise Every now and then you get to see somebody using your work in totally unexpected ways. Whether it’s a computer case made out of Lego, a prom dress made out of soda tabs or a printed book created entirely using web technologies, it’s always surprising and prompts a “Wow!” moment. We had such... Continue reading →

Posted in Regions | Comments Off on Web to Print and seeing your work live, on paper

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 →