On Fri, Oct 2, 2009 at 8:23 PM, Slava Pestov <[email protected]> wrote:> > Please test patches with HTML output more carefully in the future!
My apologies. I'll be more careful. > How about just tweaking the HTML output to do something other than a > div, or use CSS to style the div differently? I'd prefer not to add a > new combinator and keep the current semantics. Consider what UI panes > do with styled output to be the 'reference' implementation; html > streams shoudl emulate this as closely as possible. I understand. In fact, as I played with the with-style and with-nesting combinators some more in the listener, I realized that my prior understanding of with-nesting was incorrect--it does *not* have block semantics in the sense of CSS block layout or html.markup's ($block) combinator. Perhaps make-block-stream and make-span-stream should be renamed? The distinguishing characteristic of the former is that it applies the style in a post-order manner (when the stream is disposed, as control flows back up the tree of nested streams). Whereas make-span-stream applies the styling to the "leaf nodes" of the "tree" (each individual call to write/format). Or maybe we should just clarify the distinctions in the documentation? I'll see what effect changing html.streams' block stream to generate a SPAN tag rather than a DIV tag will have on the output, and make every attempt to limit my changes to the html.streams vocab. Thanks for the guidance, -keith ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
