亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? css_rule.cpp

?? It is WEB browser core module with source code. Very good!
?? CPP
字號:
/**
 * This file is part of the DOM implementation for KDE.
 *
 * (C) 1999 Lars Knoll (knoll@kde.org)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 */

#include "css/css_ruleimpl.h"

using namespace DOM;

CSSRule::CSSRule()
{
    impl = 0;
}

CSSRule::CSSRule(const CSSRule &other)
{
    impl = other.impl;
    if(impl) impl->ref();
}

CSSRule::CSSRule(CSSRuleImpl *i)
{
    impl = i;
    if(impl) impl->ref();
}

CSSRule &CSSRule::operator = (const CSSRule &other)
{
    if ( impl != other.impl ) {
    if(impl) impl->deref();
    impl = other.impl;
    if(impl) impl->ref();
    }
    return *this;
}

CSSRule::~CSSRule()
{
    if(impl) impl->deref();
}

unsigned short CSSRule::type() const
{
    if(!impl) return 0;
    return ((CSSRuleImpl *)impl)->type();
}

DOMString CSSRule::cssText() const
{
    if(!impl) return DOMString();
    return impl->cssText();
}

void CSSRule::setCssText( const DOMString &value )
{
    if(!impl) return;
    impl->setCssText(value);
}

CSSStyleSheet CSSRule::parentStyleSheet() const
{
    if(!impl) return CSSStyleSheet();
    return ((CSSRuleImpl *)impl)->parentStyleSheet();
}

CSSRule CSSRule::parentRule() const
{
    if(!impl) return 0;
    return ((CSSRuleImpl *)impl)->parentRule();
}

CSSRuleImpl *CSSRule::handle() const
{
    return impl;
}

bool CSSRule::isNull() const
{
    return (impl == 0);
}

void CSSRule::assignOther( const CSSRule &other, RuleType thisType )
{
    if (other.type() != thisType ) {
	if ( impl ) impl->deref();
	impl = 0;
    } else
	CSSRule::operator = ( other );
}

// ----------------------------------------------------------


CSSCharsetRule::CSSCharsetRule()
    : CSSRule()
{
}

CSSCharsetRule::CSSCharsetRule(const CSSCharsetRule &other) : CSSRule(other)
{
}

CSSCharsetRule::CSSCharsetRule(const CSSRule &other)
{
    impl = 0;
    operator=(other);
}

CSSCharsetRule::CSSCharsetRule(CSSCharsetRuleImpl *impl) : CSSRule(impl)
{
}

CSSCharsetRule &CSSCharsetRule::operator = (const CSSCharsetRule &other)
{
    CSSRule::operator = (other);
    return *this;
}

CSSCharsetRule &CSSCharsetRule::operator = (const CSSRule &other)
{
    assignOther( other, CSSRule::CHARSET_RULE);
    return *this;
}

CSSCharsetRule::~CSSCharsetRule()
{
}

DOMString CSSCharsetRule::encoding() const
{
    if(!impl) return DOMString();
    return ((CSSCharsetRuleImpl*)impl)->encoding();
}

void CSSCharsetRule::setEncoding( const DOMString &value )
{
    ((CSSCharsetRuleImpl*)impl)->setEncoding(value);
}


// ----------------------------------------------------------


CSSFontFaceRule::CSSFontFaceRule() : CSSRule()
{
}

CSSFontFaceRule::CSSFontFaceRule(const CSSFontFaceRule &other) : CSSRule(other)
{
}

CSSFontFaceRule::CSSFontFaceRule(const CSSRule &other)
{
    impl = 0;
    operator=(other);
}

CSSFontFaceRule::CSSFontFaceRule(CSSFontFaceRuleImpl *impl) : CSSRule(impl)
{
}

CSSFontFaceRule &CSSFontFaceRule::operator = (const CSSFontFaceRule &other)
{
    CSSRule::operator = (other);
    return *this;
}

CSSFontFaceRule &CSSFontFaceRule::operator = (const CSSRule &other)
{
    assignOther( other, CSSRule::FONT_FACE_RULE );
    return *this;
}

CSSFontFaceRule::~CSSFontFaceRule()
{
}

CSSStyleDeclaration CSSFontFaceRule::style() const
{
    if(!impl) return CSSStyleDeclaration();
    return ((CSSFontFaceRuleImpl *)impl)->style();
}


// ----------------------------------------------------------


CSSImportRule::CSSImportRule() : CSSRule()
{
}

CSSImportRule::CSSImportRule(const CSSImportRule &other) : CSSRule(other)
{
}

CSSImportRule::CSSImportRule(const CSSRule &other)
{
    impl = 0;
    operator=(other);
}

CSSImportRule::CSSImportRule(CSSImportRuleImpl *impl) : CSSRule(impl)
{
}

CSSImportRule &CSSImportRule::operator = (const CSSImportRule &other)
{
    CSSRule::operator = (other);
    return *this;
}

CSSImportRule &CSSImportRule::operator = (const CSSRule &other)
{
    assignOther( other, CSSRule::IMPORT_RULE );
    return *this;
}

CSSImportRule::~CSSImportRule()
{
}

DOMString CSSImportRule::href() const
{
    if(!impl) return DOMString();
    return ((CSSImportRuleImpl *)impl)->href();
}

MediaList CSSImportRule::media() const
{
    if(!impl) return MediaList();
    return ((CSSImportRuleImpl *)impl)->media();
}

CSSStyleSheet CSSImportRule::styleSheet() const
{
    if(!impl) return CSSStyleSheet();
    return ((CSSImportRuleImpl *)impl)->styleSheet();
}


// ----------------------------------------------------------


CSSMediaRule::CSSMediaRule() : CSSRule()
{
}

CSSMediaRule::CSSMediaRule(const CSSMediaRule &other) : CSSRule(other)
{
}

CSSMediaRule::CSSMediaRule(const CSSRule &other)
{
    impl = 0;
    operator=(other);
}

CSSMediaRule::CSSMediaRule(CSSMediaRuleImpl *impl) : CSSRule(impl)
{
}

CSSMediaRule &CSSMediaRule::operator = (const CSSMediaRule &other)
{
    CSSRule::operator = (other);
    return *this;
}

CSSMediaRule &CSSMediaRule::operator = (const CSSRule &other)
{
    assignOther( other, CSSRule::MEDIA_RULE );
    return *this;
}

CSSMediaRule::~CSSMediaRule()
{
}

MediaList CSSMediaRule::media() const
{
    if(!impl) return MediaList();
    return ((CSSMediaRuleImpl *)impl)->media();
}

CSSRuleList CSSMediaRule::cssRules() const
{
    if(!impl) return CSSRuleList();
    return ((CSSMediaRuleImpl *)impl)->cssRules();
}

unsigned long CSSMediaRule::insertRule( const DOMString &rule, unsigned long index )
{
    if(!impl) return 0;
    return ((CSSMediaRuleImpl *)impl)->insertRule( rule, index );
}

void CSSMediaRule::deleteRule( unsigned long index )
{
    if(impl)
        ((CSSMediaRuleImpl *)impl)->deleteRule( index );
}


// ----------------------------------------------------------


CSSPageRule::CSSPageRule() : CSSRule()
{
}

CSSPageRule::CSSPageRule(const CSSPageRule &other) : CSSRule(other)
{
}

CSSPageRule::CSSPageRule(const CSSRule &other)
{
    impl = 0;
    operator=(other);
}

CSSPageRule::CSSPageRule(CSSPageRuleImpl *impl) : CSSRule(impl)
{
}

CSSPageRule &CSSPageRule::operator = (const CSSPageRule &other)
{
    CSSRule::operator = (other);
    return *this;
}

CSSPageRule &CSSPageRule::operator = (const CSSRule &other)
{
    assignOther( other, CSSRule::PAGE_RULE );
    return *this;
}

CSSPageRule::~CSSPageRule()
{
}

DOMString CSSPageRule::selectorText() const
{
    if(!impl) return DOMString();
    return ((CSSPageRuleImpl*)impl)->selectorText();
}

void CSSPageRule::setSelectorText( const DOMString &value )
{
    ((CSSPageRuleImpl*)impl)->setSelectorText(value);
}

CSSStyleDeclaration CSSPageRule::style() const
{
    if(!impl) return CSSStyleDeclaration();
    return ((CSSPageRuleImpl *)impl)->style();
}


// ----------------------------------------------------------

CSSStyleRule::CSSStyleRule() : CSSRule()
{
}

CSSStyleRule::CSSStyleRule(const CSSStyleRule &other)
    : CSSRule(other)
{
}

CSSStyleRule::CSSStyleRule(const CSSRule &other)
{
    impl = 0;
    operator=(other);
}


CSSStyleRule::CSSStyleRule(CSSStyleRuleImpl *impl)
    : CSSRule(impl)
{
}

CSSStyleRule &CSSStyleRule::operator = (const CSSStyleRule &other)
{
    CSSRule::operator = (other);
    return *this;
}

CSSStyleRule &CSSStyleRule::operator = (const CSSRule &other)
{
    assignOther( other, CSSRule::STYLE_RULE );
    return *this;
}

CSSStyleRule::~CSSStyleRule()
{
}

DOMString CSSStyleRule::selectorText() const
{
    if(!impl) return DOMString();
    return ((CSSStyleRuleImpl*)impl)->selectorText();
}

void CSSStyleRule::setSelectorText( const DOMString &value )
{
    ((CSSStyleRuleImpl*)impl)->setSelectorText(value);
}

CSSStyleDeclaration CSSStyleRule::style() const
{
    if(!impl) return CSSStyleDeclaration();
    return ((CSSStyleRuleImpl *)impl)->style();
}


// ----------------------------------------------------------


CSSUnknownRule::CSSUnknownRule() : CSSRule()
{
}

CSSUnknownRule::CSSUnknownRule(const CSSUnknownRule &other)
    : CSSRule(other)
{
}

CSSUnknownRule::CSSUnknownRule(const CSSRule &other)
{
    impl = 0;
    operator=(other);
}

CSSUnknownRule::CSSUnknownRule(CSSUnknownRuleImpl *impl)
    : CSSRule(impl)
{
}

CSSUnknownRule &CSSUnknownRule::operator = (const CSSUnknownRule &other)
{
    CSSRule::operator = (other);
    return *this;
}

CSSUnknownRule &CSSUnknownRule::operator = (const CSSRule &other)
{
    assignOther( other, CSSRule::UNKNOWN_RULE );
    return *this;
}

CSSUnknownRule::~CSSUnknownRule()
{
}


// ----------------------------------------------------------

CSSRuleList::CSSRuleList()
{
    impl = 0;
}

CSSRuleList::CSSRuleList(const CSSRuleList &other)
{
    impl = other.impl;
    if(impl) impl->ref();
}

CSSRuleList::CSSRuleList(CSSRuleListImpl *i)
{
    impl = i;
    if(impl) impl->ref();
}

CSSRuleList::CSSRuleList(StyleListImpl *lst)
{
    impl = new CSSRuleListImpl;
    impl->ref();
    if (lst)
    {
        for( unsigned long i = 0; i < lst->length() ; ++i )
        {
            StyleBaseImpl* style = lst->item( i );
            if ( style->isRule() )
                impl->insertRule( static_cast<CSSRuleImpl *>(style), impl->length() );
        }
    }
}

CSSRuleList &CSSRuleList::operator = (const CSSRuleList &other)
{
    if ( impl != other.impl ) {
    if(impl) impl->deref();
    impl = other.impl;
    if(impl) impl->ref();
    }
    return *this;
}

CSSRuleList::~CSSRuleList()
{
    if(impl) impl->deref();
}

unsigned long CSSRuleList::length() const
{
    if(!impl) return 0;
    return ((CSSRuleListImpl *)impl)->length();
    return 0;
}

CSSRule CSSRuleList::item( unsigned long index )
{
    if(!impl) return CSSRule();
    return ((CSSRuleListImpl *)impl)->item( index );
}

CSSRuleListImpl *CSSRuleList::handle() const
{
    return impl;
}

bool CSSRuleList::isNull() const
{
    return (impl == 0);
}




?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜一区二区三区视频| a级高清视频欧美日韩| 暴力调教一区二区三区| 欧美久久一区二区| 国产精品视频麻豆| 久久99久久精品欧美| 欧美日韩精品一区视频| 综合中文字幕亚洲| 高清shemale亚洲人妖| 日韩视频在线观看一区二区| 一区二区三区在线视频观看 | 亚洲欧洲美洲综合色网| 久久不见久久见中文字幕免费| 欧美三级日本三级少妇99| 国产精品久久777777| 国产精品一卡二卡| 久久蜜桃av一区精品变态类天堂 | 国产91对白在线观看九色| 日韩精品一区在线| 日本va欧美va精品| 777a∨成人精品桃花网| 亚洲超丰满肉感bbw| 在线观看日韩电影| 亚洲国产精品一区二区久久恐怖片 | 亚洲综合在线五月| 一道本成人在线| 中文字幕一区二区三区在线不卡| 成人av网站在线观看| 欧美韩日一区二区三区四区| 国产高清精品在线| 日本一区二区三区国色天香| 国产精品正在播放| 国产精品美女一区二区三区| youjizz国产精品| 亚洲伦理在线精品| 欧美午夜不卡在线观看免费| 亚洲国产精品一区二区尤物区| 欧美日韩在线播放三区四区| 亚洲r级在线视频| 日韩午夜精品视频| 国产在线国偷精品产拍免费yy| 国产精品麻豆久久久| 久久这里只有精品视频网| 青青草国产精品97视觉盛宴| 7777女厕盗摄久久久| 麻豆精品一区二区av白丝在线 | 99re视频精品| 亚洲影院理伦片| 欧美一级xxx| 国产精一品亚洲二区在线视频| 日本一区二区综合亚洲| 一本久久a久久精品亚洲| 亚洲一区二区av电影| 91精品国产91久久综合桃花| 国产一区在线视频| 亚洲乱码国产乱码精品精小说| 欧美日韩一级二级| 精品亚洲porn| 亚洲日本电影在线| 欧美乱熟臀69xxxxxx| 久久av老司机精品网站导航| 亚洲欧洲日韩一区二区三区| 亚洲电影中文字幕在线观看| 在线视频一区二区三区| 午夜精品视频一区| 欧美国产日韩精品免费观看| 日本韩国精品在线| 欧美a级理论片| 亚洲欧美影音先锋| 日韩精品一区二区三区在线播放 | 不卡的电影网站| 亚洲成a人v欧美综合天堂| 久久精品无码一区二区三区| 欧美日韩中文一区| 成人激情电影免费在线观看| 日本v片在线高清不卡在线观看| 日本一二三四高清不卡| 91精品国产日韩91久久久久久| av一二三不卡影片| 韩国三级电影一区二区| 午夜电影网一区| 亚洲欧美日韩精品久久久久| 日韩精品专区在线| 欧美影院午夜播放| 不卡av在线免费观看| 久久99精品久久只有精品| 亚洲成人av在线电影| 成人免费一区二区三区视频| 精品福利在线导航| 欧美蜜桃一区二区三区| 99国产精品一区| 国产不卡在线播放| 久久www免费人成看片高清| 首页欧美精品中文字幕| 艳妇臀荡乳欲伦亚洲一区| 亚洲国产高清在线观看视频| 精品乱码亚洲一区二区不卡| 欧美一区二区高清| 欧美老女人第四色| 欧美亚洲日本一区| 色婷婷av一区二区三区大白胸| 大白屁股一区二区视频| 国产精品资源在线观看| 精品一区二区三区日韩| 精品影视av免费| 精品综合免费视频观看| 久久精品99国产精品日本| 免费成人在线观看视频| 青娱乐精品在线视频| 蜜桃视频一区二区| 日韩va亚洲va欧美va久久| 天天色天天爱天天射综合| 亚洲国产日韩精品| 三级久久三级久久久| 青青草原综合久久大伊人精品 | 欧美丝袜自拍制服另类| 在线欧美日韩国产| 欧美图片一区二区三区| 制服丝袜激情欧洲亚洲| 欧美一级国产精品| 精品国产不卡一区二区三区| 久久综合色婷婷| 国产欧美日韩麻豆91| 国产精品乱码一区二区三区软件| 国产精品萝li| 亚洲永久免费视频| 日韩成人精品视频| 国产一区二区三区蝌蚪| 不卡av在线免费观看| 在线视频中文字幕一区二区| 在线播放中文字幕一区| 欧美成人欧美edvon| 国产欧美日韩亚州综合| 亚洲美女视频在线观看| 日本不卡视频在线| 国产大陆亚洲精品国产| 日本乱人伦aⅴ精品| 91精品国产色综合久久| 久久亚洲影视婷婷| 亚洲欧美日韩国产综合| 日韩经典一区二区| 久久久久国产精品麻豆| 国产精品午夜在线观看| 亚洲蜜臀av乱码久久精品| 免费视频一区二区| 成人国产精品免费观看动漫| 欧美日韩高清一区二区三区| 中文字幕制服丝袜一区二区三区| 一区二区三区日韩精品视频| 男人的天堂亚洲一区| 91一区二区三区在线观看| 日韩一区二区免费在线电影| 国产精品久久久久久久久免费桃花 | 91国偷自产一区二区三区观看| 91精品国产品国语在线不卡| 国产精品久线观看视频| 五月天欧美精品| 成人午夜av在线| 91精品麻豆日日躁夜夜躁| 国产精品久久久久一区二区三区 | 欧日韩精品视频| 久久久蜜桃精品| 日本va欧美va欧美va精品| 精品区一区二区| 亚洲特级片在线| 韩国av一区二区| 欧美日韩视频一区二区| 国产精品另类一区| 久久国产日韩欧美精品| 欧美在线三级电影| 一区在线中文字幕| 激情丁香综合五月| 欧美三级资源在线| 亚洲猫色日本管| 99re视频精品| 国产精品色哟哟网站| 国产精品99久久久久久宅男| 91精品国产色综合久久不卡蜜臀 | 欧美日韩国产综合久久| 中文字幕精品一区二区精品绿巨人| 日韩精彩视频在线观看| 欧美在线观看一区二区| 亚洲精品成人在线| 成人午夜看片网址| 久久精品夜夜夜夜久久| 精品午夜一区二区三区在线观看| 在线不卡a资源高清| 午夜精品影院在线观看| 欧美日韩国产综合草草| 性感美女久久精品| thepron国产精品| 国产亚洲欧美激情| 国产成人综合自拍| 26uuu国产日韩综合| 国产精品综合一区二区| 久久老女人爱爱| 狠狠狠色丁香婷婷综合激情| 精品国产91乱码一区二区三区| 免费人成黄页网站在线一区二区| 日韩视频中午一区|