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

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

?? css_base.h

?? It is WEB browser core module with source code. Very good!
?? H
字號:
/*
 * This file is part of the CSS implementation for KDE.
 *
 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org)
 *               1999 Waldo Bastian (bastian@kde.org)
 * Copyright (C) 2004 Apple Computer, Inc.
 *
 * 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.
 */

#ifndef _CSS_BASE_H
#define _CSS_BASE_H

#include "dom/dom_string.h"
#include "dom/dom_misc.h"
#include "xml/dom_nodeimpl.h"
#include "misc/shared.h"
#include <qdatetime.h>
#include <qptrlist.h>

#ifdef __WINSCW__
#pragma enumsalwaysint off
#endif

namespace DOM {

    class StyleSheetImpl;
    class MediaList;

    class CSSSelector;
    class CSSProperty;
    class CSSValueImpl;
    class CSSPrimitiveValueImpl;
    class CSSRuleImpl;
    class CSSStyleRuleImpl;

    class DocumentImpl;

    struct CSSNamespace {
        DOMString m_prefix;
        DOMString m_uri;
        CSSNamespace* m_parent;

        CSSNamespace(const DOMString& p, const DOMString& u, CSSNamespace* parent) 
            :m_prefix(p), m_uri(u), m_parent(parent) {}
        ~CSSNamespace() { delete m_parent; }
        
        const DOMString& uri() { return m_uri; }
        const DOMString& prefix() { return m_prefix; }
        
        CSSNamespace* namespaceForPrefix(const DOMString& prefix) {
            if (prefix == m_prefix)
                return this;
            if (m_parent)
                return m_parent->namespaceForPrefix(prefix);
            return 0;
        }
    };
    
// this class represents a selector for a StyleRule
    class CSSSelector
    OOM_MODIFIED
    {
    public:
	CSSSelector()
	    : tagHistory(0), simpleSelector(0), nextSelector(0), attr(0), tag(anyQName),
              relation( Descendant ), match( None ),
              pseudoId( 0 ), _pseudoType(PseudoNotParsed)
        {}

	~CSSSelector() {
	    delete tagHistory;
            delete simpleSelector;
            delete nextSelector;
	}

        void append(CSSSelector* n) {
            if (!nextSelector) nextSelector = n; else nextSelector->append(n);
        }
        CSSSelector* next() { return nextSelector; }

	/**
	 * Print debug output for this selector
	 */
	void print();

	/**
	 * Re-create selector text from selector's data
	 */
	DOMString selectorText() const;

	// checks if the 2 selectors (including sub selectors) agree.
	bool operator == ( const CSSSelector &other );

	// tag == -1 means apply to all elements (Selector = *)

	unsigned int specificity();

	/* how the attribute value has to match.... Default is Exact */
	enum Match
	{
	    None = 0,
	    Id,
            Class,
	    Exact,
	    Set,
	    List,
	    Hyphen,
	    Pseudo,
	    Contain,   // css3: E[foo*="bar"]
	    Begin,     // css3: E[foo^="bar"]
	    End        // css3: E[foo$="bar"]
	};

	enum Relation
	{
	    Descendant = 0,
	    Child,
	    Sibling,
	    SubSelector
	};

	enum PseudoType
	{
	    PseudoNotParsed = 0,
	    PseudoOther,
	    PseudoEmpty,
	    PseudoFirstChild,
            PseudoLastChild,
            PseudoOnlyChild,
	    PseudoFirstLine,
	    PseudoFirstLetter,
	    PseudoLink,
	    PseudoVisited,
            PseudoAnyLink,
	    PseudoHover,
	    PseudoDrag,
	    PseudoFocus,
	    PseudoActive,
            PseudoTarget,
	    PseudoBefore,
	    PseudoAfter,
            PseudoLang,
            PseudoNot,
            PseudoRoot,
            PseudoSelection
	};

	inline PseudoType pseudoType() const
	    {
		if (_pseudoType == PseudoNotParsed)
		    extractPseudoType();
		return _pseudoType;
	    }

	mutable DOM::AtomicString value;
	CSSSelector* tagHistory;
        CSSSelector* simpleSelector; // Used for :not.
        CSSSelector* nextSelector; // used for ,-chained selectors
	Q_UINT32     attr;
	Q_UINT32     tag;

        Relation relation     : 2;
	Match 	 match         : 4;
	unsigned int pseudoId : 3;
	mutable PseudoType _pseudoType : 5;

    private:
	void extractPseudoType() const;
    };

    // a style class which has a parent (almost all have)
    class StyleBaseImpl : public khtml::TreeShared<StyleBaseImpl>
    {
    public:
	StyleBaseImpl()  { m_parent = 0; strictParsing = true; multiLength = false; }
	StyleBaseImpl(StyleBaseImpl *p) {
	    m_parent = p;
	    strictParsing = (m_parent ? m_parent->useStrictParsing() : true);
	    multiLength = false;
	}

	virtual ~StyleBaseImpl() {}

	// returns the url of the style sheet this object belongs to
	DOMString baseURL();

	virtual bool isStyleSheet() const { return false; }
	virtual bool isCSSStyleSheet() const { return false; }
        virtual bool isXSLStyleSheet() const { return false; }
	virtual bool isStyleSheetList() const { return false; }
	virtual bool isMediaList() { return false; }
	virtual bool isRuleList() { return false; }
	virtual bool isRule() { return false; }
	virtual bool isStyleRule() { return false; }
	virtual bool isCharetRule() { return false; }
	virtual bool isImportRule() { return false; }
	virtual bool isMediaRule() { return false; }
	virtual bool isFontFaceRule() { return false; }
	virtual bool isPageRule() { return false; }
	virtual bool isUnknownRule() { return false; }
	virtual bool isStyleDeclaration() { return false; }
	virtual bool isValue() { return false; }
	virtual bool isPrimitiveValue() const { return false; }
	virtual bool isValueList() { return false; }
	virtual bool isValueCustom() { return false; }

	void setParent(StyleBaseImpl *parent) { m_parent = parent; }

	virtual bool parseString(const DOMString &/*cssString*/, bool = false) { return false; }

	virtual void checkLoaded();

	void setStrictParsing( bool b ) { strictParsing = b; }
	bool useStrictParsing() const { return strictParsing; }

	StyleSheetImpl* stylesheet();

    protected:
	bool strictParsing : 1;
	bool multiLength : 1;
    };

    // a style class which has a list of children (StyleSheets for example)
    class StyleListImpl : public StyleBaseImpl
    {
    public:
	StyleListImpl() : StyleBaseImpl() { m_lstChildren = 0; }
	StyleListImpl(StyleBaseImpl *parent) : StyleBaseImpl(parent) { m_lstChildren = 0; }

	virtual ~StyleListImpl();

	unsigned long length() { return m_lstChildren->count(); }
	StyleBaseImpl *item(unsigned long num) { return m_lstChildren->at(num); }

	void append(StyleBaseImpl *item) { m_lstChildren->append(item); }

    protected:
	QPtrList<StyleBaseImpl> *m_lstChildren;
    };

    int getPropertyID(const char *tagStr, int len);

}

#ifdef __WINSCW__
#pragma enumsalwaysint reset
#endif

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
香蕉成人伊视频在线观看| 精品影视av免费| 91美女片黄在线观看91美女| 久久久久97国产精华液好用吗| 免费成人在线观看视频| 欧美美女喷水视频| 午夜精品久久久久久久| 欧美久久久一区| 日韩电影一区二区三区四区| 8v天堂国产在线一区二区| 午夜av区久久| 欧美日韩国产免费| 日本亚洲视频在线| 欧美日韩色一区| 婷婷开心激情综合| 日韩欧美另类在线| 国产伦精一区二区三区| 26uuu国产在线精品一区二区| 国精品**一区二区三区在线蜜桃| 精品99一区二区三区| 久久 天天综合| 国产日韩av一区二区| 国产成人精品免费网站| 国产精品国产a级| 91一区二区三区在线观看| 亚洲精品视频自拍| 欧美色中文字幕| 麻豆精品一区二区三区| 精品久久久久久最新网址| 国精产品一区一区三区mba视频| 久久久久久久综合| 99久久综合99久久综合网站| 亚洲欧美在线高清| 欧美亚洲禁片免费| 免费久久99精品国产| 久久日韩粉嫩一区二区三区| 成人精品电影在线观看| 伊人一区二区三区| 日韩一区二区三区三四区视频在线观看| 久久国产精品色婷婷| 中文字幕第一区综合| 91激情五月电影| 日本不卡的三区四区五区| 久久影院午夜论| 97久久人人超碰| 五月天一区二区三区| wwwwww.欧美系列| 99精品视频在线免费观看| 香蕉影视欧美成人| 久久久久国产免费免费| 91色乱码一区二区三区| 视频在线观看91| 久久精品日韩一区二区三区| 在线精品视频一区二区| 狠狠色综合色综合网络| 综合av第一页| 日韩午夜在线观看视频| www..com久久爱| 奇米一区二区三区av| 国产精品三级视频| 欧美精品色综合| 国产成人精品在线看| 亚洲国产日韩综合久久精品| 久久久久久久久伊人| 精品视频免费看| 国产成人综合自拍| 亚洲国产欧美在线| 中文文精品字幕一区二区| 欧美日韩成人在线| eeuss鲁片一区二区三区在线观看| 午夜精品久久一牛影视| 中文字幕欧美区| 欧美一级夜夜爽| 色综合天天狠狠| 国产一区二区三区黄视频 | 久久精品无码一区二区三区| 91视频在线观看| 久久99国产精品麻豆| 亚洲精品午夜久久久| 2023国产一二三区日本精品2022| 欧美在线一区二区三区| 国产成人免费视频一区| 日本女人一区二区三区| 亚洲狼人国产精品| 国产片一区二区三区| 337p亚洲精品色噜噜狠狠| a级高清视频欧美日韩| 国产主播一区二区三区| 五月婷婷综合激情| 亚洲男人的天堂av| 中文字幕二三区不卡| 亚洲精品一区二区三区99| 欧美日韩中文字幕一区二区| 成人性生交大片免费看在线播放| 免费美女久久99| 亚洲第一福利一区| 亚洲免费视频成人| 国产精品欧美极品| 久久伊人蜜桃av一区二区| 欧美高清你懂得| 欧美日韩中文一区| 色婷婷av一区二区三区软件 | 久久综合久久综合亚洲| 91精品欧美久久久久久动漫| 色欧美片视频在线观看在线视频| 成人永久看片免费视频天堂| 国内精品久久久久影院一蜜桃| 日韩成人一区二区| 五月天中文字幕一区二区| 一级精品视频在线观看宜春院 | 日韩激情一区二区| 亚洲成av人综合在线观看| 伊人婷婷欧美激情| 亚洲精品欧美二区三区中文字幕| 国产精品第五页| 中文字幕中文字幕一区| 国产日产欧美一区二区三区| 久久久久久一二三区| 久久色.com| 2017欧美狠狠色| 26uuu国产一区二区三区| 亚洲精品一区二区三区四区高清| 欧美一区二区三区免费| 91精品国产综合久久小美女| 欧美日韩精品一二三区| 欧美人妖巨大在线| 欧美日韩成人高清| 91精品国产综合久久蜜臀| 91精品国产一区二区三区香蕉| 欧美日韩一本到| 欧美日韩1234| 91精品国产综合久久久久久久久久 | 91小视频免费看| 99久久精品免费看国产| 97久久精品人人做人人爽| 97精品久久久午夜一区二区三区| a在线播放不卡| 色婷婷综合在线| 欧美中文一区二区三区| 欧美日韩一区视频| 欧美男生操女生| 日韩欧美的一区二区| 精品国产91久久久久久久妲己| 精品国产乱码久久久久久牛牛| 欧美精品一区二区三区蜜臀| 久久久久久夜精品精品免费| 中文字幕欧美区| 一区二区三区四区在线播放| 午夜电影网亚洲视频| 免费观看在线综合| 国内精品视频666| 成人黄页毛片网站| 欧洲一区二区av| 欧美一区永久视频免费观看| 精品久久人人做人人爽| 国产欧美一区二区精品婷婷| 国产精品久久久久久久久晋中| 亚洲人快播电影网| 日韩影院精彩在线| 国产一区二区三区最好精华液| 国产成人aaaa| 亚洲国产精品传媒在线观看| 日韩视频一区二区在线观看| 26uuu精品一区二区在线观看| 国产精品色哟哟| 亚洲综合999| 六月丁香综合在线视频| 国产成人免费在线观看| 色欧美88888久久久久久影院| 欧美日本在线播放| 久久久午夜电影| 亚洲丝袜自拍清纯另类| 水蜜桃久久夜色精品一区的特点| 蜜臀av一区二区三区| 久久国产尿小便嘘嘘| 成人av在线资源网站| 欧美在线观看一二区| 欧美电影免费观看高清完整版在| 欧美激情一区二区在线| 亚洲第一主播视频| 国产精品主播直播| 欧美在线观看视频一区二区三区| 欧美一区二区久久久| 国产精品情趣视频| 天天色图综合网| 高清视频一区二区| 欧美日韩情趣电影| 国产日韩v精品一区二区| 亚洲狠狠爱一区二区三区| 国产精品中文字幕日韩精品 | 精品免费日韩av| 亚洲欧美激情小说另类| 久久se精品一区二区| 91天堂素人约啪| 日韩欧美电影在线| 亚洲激情男女视频| 国产九色sp调教91| 欧美日韩一区二区三区四区五区 | 国内精品久久久久影院薰衣草 | 亚洲一区二区三区国产|