approved! On Sun, Nov 29, 2009 at 12:15 AM, Max Carlson <[email protected]> wrote:
> Change 20091128-maxcarlson-h by maxcarl...@bank on 2009-11-28 20:59:12 PST > in /Users/maxcarlson/openlaszlo/trunk-clean > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Add CSS box model to dhtml and swf9/10 > > Bugs Fixed: LPP-8552 - CSS like border styling on views > > Technical Reviewer: ptw > QA Reviewer: hminsky > > Release Notes: Views now support CSS2 box model padding, margin, > borderwidth and bordercolor properties in dhtml and swf9/10. See > http://www.w3.org/TR/CSS2/box.html for more details. > > Details: LzSprite.js - Add css2boxmodel capability, set to true. Add > implementation of setCSS() that knows how to style the appropriate divs. > setCSS() can be used to apply CSS in a very lightweight fashion in the > future. > > LzSprite - Add css2boxmodel capability, set to true. Rename draw() -> > drawBackground(), update to understand margins, borders and padding. Cache > true x and y position to be used in computing sprite offsets based on > padding/margins. Add implementation of setCSS() that manages the margin, > padding, borderwidth and bordercolor properties. > > LaszloView - Add view.usegetbounds property, used to check if getBounds() > must be used to get accurate measurements. Update getBounds() to account > for CSS2 box model padding, margin and border widths. Add attributes, > events and setters for margin, padding, border width and border color. Add > setCSS() to call into the sprite when a given CSS property is supported. > > layouts/* - Update to use getBounds() for size measurement, when > usegetbounds is true. > > Tests: See LPP-8552 for a simple testcase that works in dhtml and swf9/10. > > Files: > M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js > M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as > M WEB-INF/lps/lfc/views/LaszloView.lzs > M lps/components/utils/layouts/wrappinglayout.lzx > M lps/components/utils/layouts/stableborderlayout.lzx > M lps/components/utils/layouts/simplelayout.lzx > M lps/components/utils/layouts/reverselayout.lzx > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/20091128-maxcarlson-h.tar > -- Henry Minsky Software Architect [email protected]
_______________________________________________ Laszlo-reviews mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews
