[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    What is the semantic of 'nonCSShint'?
From:       Andreas Schlapbach <schlpbch () iam ! unibe ! ch>
Date:       2001-05-26 20:23:40
[Download RAW message or body]


void CSSStyleDeclarationImpl::setProperty(int id, const DOMString &value,
bool important, bool nonCSSHint)
{
    if(!m_lstValues) {
        m_lstValues = new QList<CSSProperty>;
        m_lstValues->setAutoDelete(true);
    }
    removeProperty(id);
    int pos = m_lstValues->count();
    parseValue(value.unicode(), value.unicode()+value.length(), id,
important, m_lstValues);

    if( nonCSSHint && pos < (int)m_lstValues->count() ) {
        CSSProperty *p = m_lstValues->at(pos);
        while ( p ) {
            p->nonCSSHint = true;
            p = m_lstValues->next();
        }



Andreas

--
  Andreas Schlapbach      schlpbch@iam.unibe.ch
  http://www.iam.unibe.ch/~schlpbch
                 "/home sweet /home."

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic