LivelyKernel/LivelyKernel — pull request #55 by bgnk (2012-10-23 18:23:45+00:00)
Title: Explicit CSS border styling

Since lively's box model differs to the one found in HTML, shape nodes have to be adapted in their size when their border width changes.
This branch fixes this problem for CSS styling by observing changes in a morph's matching style sheet rules and directly applies found 'border-width' declarations to the morph directly via setBorderWidth().

This is probably not a perfect solution to the problem since the style sheet hierarchies have to be traversed every time a style sheet has been added or changed, or when a morph is added/removed. Hence, there might be performance issues for large morph/css hierarchies.

However, I couldn't come up with a better idea so far ;)
Any thoughts?