On 1/6/20, 9:24 AM, "Harbs" <[email protected]> wrote:

    > In summary, I'm not quite sure what you are trying to do, but improving 
inject_html may not be the best way of doing it since you are wrapping 
elements.  We want better association of class selectors to the classes that 
need them, and that may solve your problem.
    
    Agree. I’m not looking to necessarily improve inject_html.
    
    > I had a pattern that worked for including/excluding class selectors, but 
people didn't like it. 
    
    I don’t remember what you are referring to. Having some way to declare 
required class selectors might work, although that might be tedious when 
there’s lots of selectors.
    
    >  I'm not quite sure what you are trying to do,
    
    When you use Spectrum, you’re supposed to include the CSS for the 
components you’re using.[1] I’m trying to automate that process, bringing in 
the required CSS on an as-needed basis.
    
But is that CSS platform-specific, or will that same CSS be needed if you were 
to try to implement Spectrum in SWF?  IMO, that's a key question for how we 
solve this problem.

-Alex
    

Reply via email to