[Laszlo-dev] For Review: Change 20061229-ben-a Summary: CSS can be imported relative to source file, not main lzx file

P T Withington ptw at openlaszlo.org
Tue Jan 2 04:55:12 PST 2007


Comments:

1) Is it really the case that CSS files should be resolved against  
the application base?  Or should they always be resolved against the  
file they are declared in?  I believe the latter is what HTML does.   
That would simplify the logic here.

Otherwise, approved.

On 2006-12-29, at 18:03 EST, Benjamin Shine wrote:

> Change 20061229-ben-a by ben at bens-g5.local on 2006-12-29 14:48:39 PST
>     in /Users/ben/src/svn/openlaszlo/trunk
>
> Summary: CSS can be imported relative to source file, not main lzx  
> file
>
> New Features:
>
> Bugs Fixed: LPP-3042 CSS import is relative to main LZX file
>
> Technical Reviewer: ptw (pending)
> QA Reviewer: pkang (pending)
> Doc Reviewer: frisco (pending)
>
> Documentation:
>
> Previously all css files had to be relative to the application  
> file; now the
> first place the compiler will search for a css file is relative to  
> the lzx
> that includes the css. This means you can have lib/library.lzx and
> lib/library.css where library.css styles library.lzx.
>
> Release Notes:
>
> Details:
>
>
> Tests:
> Frisco is checking in an improved test case, to
> test/bugs/lpp-2974/
> The other test is whether it works as desired for Diamond.
>
> Files:
> M      WEB-INF/lps/server/src/org/openlaszlo/compiler/ 
> StyleSheetCompiler.java
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061229- 
> ben-a.tar



More information about the Laszlo-dev mailing list