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

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

?? cssstyleselector.cpp

?? linux下開源瀏覽器WebKit的源碼,市面上的很多商用瀏覽器都是移植自WebKit
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) *           (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/) * * 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., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */#include "config.h"#include "CSSStyleSelector.h"#include "CSSBorderImageValue.h"#include "CSSCursorImageValue.h"#include "CSSFontFace.h"#include "CSSFontFaceRule.h"#include "CSSFontFaceSource.h"#include "CSSImportRule.h"#include "CSSMediaRule.h"#include "CSSParser.h"#include "CSSPrimitiveValueMappings.h"#include "CSSProperty.h"#include "CSSPropertyNames.h"#include "CSSReflectValue.h"#include "CSSRuleList.h"#include "CSSSelector.h"#include "CSSSelectorList.h"#include "CSSStyleRule.h"#include "CSSStyleSheet.h"#include "CSSTimingFunctionValue.h"#include "CSSValueList.h"#include "CSSVariableDependentValue.h"#include "CSSVariablesDeclaration.h"#include "CSSVariablesRule.h"#include "CachedImage.h"#include "Counter.h"#include "CounterContent.h"#include "FocusController.h"#include "FontFamilyValue.h"#include "FontValue.h"#include "Frame.h"#include "FrameView.h"#include "HTMLDocument.h"#include "HTMLElement.h"#include "HTMLInputElement.h"#include "HTMLNames.h"#include "HTMLTextAreaElement.h"#include "LinkHash.h"#include "MatrixTransformOperation.h"#include "Matrix3DTransformOperation.h"#include "MediaList.h"#include "MediaQueryEvaluator.h"#include "NodeRenderStyle.h"#include "Page.h"#include "PageGroup.h"#include "Pair.h"#include "PerspectiveTransformOperation.h"#include "Rect.h"#include "RenderScrollbar.h"#include "RenderScrollbarTheme.h"#include "RenderStyleConstants.h"#include "RenderTheme.h"#include "RotateTransformOperation.h"#include "ScaleTransformOperation.h"#include "SelectionController.h"#include "Settings.h"#include "ShadowValue.h"#include "SkewTransformOperation.h"#include "StyleCachedImage.h"#include "StyleGeneratedImage.h"#include "StyleSheetList.h"#include "Text.h"#include "TransformationMatrix.h"#include "TranslateTransformOperation.h"#include "UserAgentStyleSheets.h"#include "WebKitCSSKeyframeRule.h"#include "WebKitCSSKeyframesRule.h"#include "WebKitCSSTransformValue.h"#include "XMLNames.h"#include "loader.h"#include <wtf/StdLibExtras.h>#include <wtf/Vector.h>#if ENABLE(DASHBOARD_SUPPORT)#include "DashboardRegion.h"#endif#if ENABLE(SVG)#include "XLinkNames.h"#include "SVGNames.h"#endif#if ENABLE(WML)#include "WMLNames.h"#endifusing namespace std;namespace WebCore {using namespace HTMLNames;// #define STYLE_SHARING_STATS 1#define HANDLE_INHERIT(prop, Prop) \if (isInherit) { \    m_style->set##Prop(m_parentStyle->prop()); \    return; \}#define HANDLE_INHERIT_AND_INITIAL(prop, Prop) \HANDLE_INHERIT(prop, Prop) \if (isInitial) { \    m_style->set##Prop(RenderStyle::initial##Prop()); \    return; \}#define HANDLE_INHERIT_AND_INITIAL_WITH_VALUE(prop, Prop, Value) \HANDLE_INHERIT(prop, Prop) \if (isInitial) { \    m_style->set##Prop(RenderStyle::initial##Value());\    return;\}#define HANDLE_FILL_LAYER_INHERIT_AND_INITIAL(layerType, LayerType, prop, Prop) \if (isInherit) { \    FillLayer* currChild = m_style->access##LayerType##Layers(); \    FillLayer* prevChild = 0; \    const FillLayer* currParent = m_parentStyle->layerType##Layers(); \    while (currParent && currParent->is##Prop##Set()) { \        if (!currChild) { \            /* Need to make a new layer.*/ \            currChild = new FillLayer(LayerType##FillLayer); \            prevChild->setNext(currChild); \        } \        currChild->set##Prop(currParent->prop()); \        prevChild = currChild; \        currChild = prevChild->next(); \        currParent = currParent->next(); \    } \    \    while (currChild) { \        /* Reset any remaining layers to not have the property set. */ \        currChild->clear##Prop(); \        currChild = currChild->next(); \    } \} else if (isInitial) { \    FillLayer* currChild = m_style->access##LayerType##Layers(); \    currChild->set##Prop(FillLayer::initialFill##Prop(LayerType##FillLayer)); \    for (currChild = currChild->next(); currChild; currChild = currChild->next()) \        currChild->clear##Prop(); \}#define HANDLE_FILL_LAYER_VALUE(layerType, LayerType, prop, Prop, value) { \HANDLE_FILL_LAYER_INHERIT_AND_INITIAL(layerType, LayerType, prop, Prop) \if (isInherit || isInitial) \    return; \FillLayer* currChild = m_style->access##LayerType##Layers(); \FillLayer* prevChild = 0; \if (value->isValueList()) { \    /* Walk each value and put it into a layer, creating new layers as needed. */ \    CSSValueList* valueList = static_cast<CSSValueList*>(value); \    for (unsigned int i = 0; i < valueList->length(); i++) { \        if (!currChild) { \            /* Need to make a new layer to hold this value */ \            currChild = new FillLayer(LayerType##FillLayer); \            prevChild->setNext(currChild); \        } \        mapFill##Prop(currChild, valueList->itemWithoutBoundsCheck(i)); \        prevChild = currChild; \        currChild = currChild->next(); \    } \} else { \    mapFill##Prop(currChild, value); \    currChild = currChild->next(); \} \while (currChild) { \    /* Reset all remaining layers to not have the property set. */ \    currChild->clear##Prop(); \    currChild = currChild->next(); \} }#define HANDLE_BACKGROUND_INHERIT_AND_INITIAL(prop, Prop) \HANDLE_FILL_LAYER_INHERIT_AND_INITIAL(background, Background, prop, Prop)#define HANDLE_BACKGROUND_VALUE(prop, Prop, value) \HANDLE_FILL_LAYER_VALUE(background, Background, prop, Prop, value)#define HANDLE_MASK_INHERIT_AND_INITIAL(prop, Prop) \HANDLE_FILL_LAYER_INHERIT_AND_INITIAL(mask, Mask, prop, Prop)#define HANDLE_MASK_VALUE(prop, Prop, value) \HANDLE_FILL_LAYER_VALUE(mask, Mask, prop, Prop, value)#define HANDLE_ANIMATION_INHERIT_AND_INITIAL(prop, Prop) \if (isInherit) { \    AnimationList* list = m_style->accessAnimations(); \    const AnimationList* parentList = m_parentStyle->animations(); \    size_t i = 0, parentSize = parentList ? parentList->size() : 0; \    for ( ; i < parentSize && parentList->animation(i)->is##Prop##Set(); ++i) { \        if (list->size() <= i) \            list->append(Animation::create()); \        list->animation(i)->set##Prop(parentList->animation(i)->prop()); \    } \    \    /* Reset any remaining animations to not have the property set. */ \    for ( ; i < list->size(); ++i) \        list->animation(i)->clear##Prop(); \} else if (isInitial) { \    AnimationList* list = m_style->accessAnimations(); \    if (list->isEmpty()) \        list->append(Animation::create()); \    list->animation(0)->set##Prop(Animation::initialAnimation##Prop()); \    for (size_t i = 1; i < list->size(); ++i) \        list->animation(0)->clear##Prop(); \}#define HANDLE_ANIMATION_VALUE(prop, Prop, value) { \HANDLE_ANIMATION_INHERIT_AND_INITIAL(prop, Prop) \if (isInherit || isInitial) \    return; \AnimationList* list = m_style->accessAnimations(); \size_t childIndex = 0; \if (value->isValueList()) { \    /* Walk each value and put it into an animation, creating new animations as needed. */ \    CSSValueList* valueList = static_cast<CSSValueList*>(value); \    for (unsigned int i = 0; i < valueList->length(); i++) { \        if (childIndex <= list->size()) \            list->append(Animation::create()); \        mapAnimation##Prop(list->animation(childIndex), valueList->itemWithoutBoundsCheck(i)); \        ++childIndex; \    } \} else { \    if (list->isEmpty()) \        list->append(Animation::create()); \    mapAnimation##Prop(list->animation(childIndex), value); \    childIndex = 1; \} \for ( ; childIndex < list->size(); ++childIndex) { \    /* Reset all remaining animations to not have the property set. */ \    list->animation(childIndex)->clear##Prop(); \} \}#define HANDLE_TRANSITION_INHERIT_AND_INITIAL(prop, Prop) \if (isInherit) { \    AnimationList* list = m_style->accessTransitions(); \    const AnimationList* parentList = m_parentStyle->transitions(); \    size_t i = 0, parentSize = parentList ? parentList->size() : 0; \    for ( ; i < parentSize && parentList->animation(i)->is##Prop##Set(); ++i) { \        if (list->size() <= i) \            list->append(Animation::create()); \        list->animation(i)->set##Prop(parentList->animation(i)->prop()); \    } \    \    /* Reset any remaining transitions to not have the property set. */ \    for ( ; i < list->size(); ++i) \        list->animation(i)->clear##Prop(); \} else if (isInitial) { \    AnimationList* list = m_style->accessTransitions(); \    if (list->isEmpty()) \        list->append(Animation::create()); \    list->animation(0)->set##Prop(Animation::initialAnimation##Prop()); \    for (size_t i = 1; i < list->size(); ++i) \        list->animation(0)->clear##Prop(); \}#define HANDLE_TRANSITION_VALUE(prop, Prop, value) { \HANDLE_TRANSITION_INHERIT_AND_INITIAL(prop, Prop) \if (isInherit || isInitial) \    return; \AnimationList* list = m_style->accessTransitions(); \size_t childIndex = 0; \if (value->isValueList()) { \    /* Walk each value and put it into a transition, creating new animations as needed. */ \    CSSValueList* valueList = static_cast<CSSValueList*>(value); \    for (unsigned int i = 0; i < valueList->length(); i++) { \        if (childIndex <= list->size()) \            list->append(Animation::create()); \        mapAnimation##Prop(list->animation(childIndex), valueList->itemWithoutBoundsCheck(i)); \        ++childIndex; \    } \} else { \    if (list->isEmpty()) \        list->append(Animation::create()); \    mapAnimation##Prop(list->animation(childIndex), value); \    childIndex = 1; \} \for ( ; childIndex < list->size(); ++childIndex) { \    /* Reset all remaining transitions to not have the property set. */ \    list->animation(childIndex)->clear##Prop(); \} \}#define HANDLE_INHERIT_COND(propID, prop, Prop) \if (id == propID) { \    m_style->set##Prop(m_parentStyle->prop()); \    return; \}    #define HANDLE_INHERIT_COND_WITH_BACKUP(propID, prop, propAlt, Prop) \if (id == propID) { \    if (m_parentStyle->prop().isValid()) \        m_style->set##Prop(m_parentStyle->prop()); \    else \        m_style->set##Prop(m_parentStyle->propAlt()); \    return; \}#define HANDLE_INITIAL_COND(propID, Prop) \if (id == propID) { \    m_style->set##Prop(RenderStyle::initial##Prop()); \    return; \}#define HANDLE_INITIAL_COND_WITH_VALUE(propID, Prop, Value) \if (id == propID) { \    m_style->set##Prop(RenderStyle::initial##Value()); \    return; \}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费的国产精品| 91丝袜国产在线播放| 成人av高清在线| 欧美一区二区三区免费观看视频 | 91久久精品一区二区二区| 日韩欧美一级精品久久| 亚洲综合免费观看高清完整版 | 欧美成人a∨高清免费观看| 亚洲你懂的在线视频| 韩国三级中文字幕hd久久精品| 在线免费观看不卡av| 国产精品传媒在线| 国产成人精品在线看| 2020国产精品自拍| 久久精品免费看| 欧美日韩高清一区| 亚洲一线二线三线久久久| 97久久精品人人做人人爽| 欧美激情一区在线| 国产成人av电影免费在线观看| 日韩三级.com| 蜜臀av性久久久久蜜臀aⅴ| 欧美精品视频www在线观看| 一区二区激情小说| 欧美图区在线视频| 无吗不卡中文字幕| 欧美视频一区二区三区四区| 亚洲在线观看免费视频| 在线观看视频一区| 亚洲国产精品久久不卡毛片| 欧洲日韩一区二区三区| 亚洲电影一区二区| 欧美日韩五月天| 日韩vs国产vs欧美| 91精品国产色综合久久不卡蜜臀| 日韩av一级电影| 91精品蜜臀在线一区尤物| 免费在线看一区| 日韩欧美国产电影| 国产美女精品在线| 国产欧美一区二区三区网站| 国产成人精品亚洲日本在线桃色| 亚洲国产精品二十页| 97成人超碰视| 亚洲一区二区欧美日韩| 欧美精品粉嫩高潮一区二区| 久久精品国产免费| 国产精品天天看| 色先锋久久av资源部| 亚洲一区二区三区三| 日韩欧美的一区二区| 国产成人aaa| 亚洲国产综合在线| 精品人在线二区三区| 成人国产一区二区三区精品| 一区二区三区四区不卡在线 | 欧美va亚洲va在线观看蝴蝶网| 久久99精品久久久久久动态图| 国产日韩精品视频一区| 99re热这里只有精品视频| 亚洲成a人v欧美综合天堂下载| 日韩一区二区免费高清| 不卡的av在线播放| 亚洲成av人片一区二区三区| 精品国产一区二区三区不卡| 99久久精品国产毛片| 视频精品一区二区| 欧美激情一区三区| 91精品一区二区三区久久久久久| 成人精品鲁一区一区二区| 婷婷丁香久久五月婷婷| 国产精品美女久久久久久久久久久| 色综合久久天天| 国产乱子轮精品视频| 亚洲小少妇裸体bbw| 国产色91在线| 91精品国产色综合久久不卡蜜臀| 97成人超碰视| 国产一区二区免费看| 午夜激情一区二区三区| 亚洲视频每日更新| 精品国产乱码久久久久久久| 欧美日韩高清一区二区| www.色综合.com| 国内精品嫩模私拍在线| 五月天丁香久久| 亚洲精品免费在线| 国产精品人人做人人爽人人添 | 精品一区二区日韩| 午夜日韩在线电影| 亚洲综合在线五月| 中文子幕无线码一区tr| 精品国产1区2区3区| 精品视频1区2区| 色婷婷av一区二区三区大白胸| 国产一区三区三区| 久久99久久久欧美国产| 天天色图综合网| 亚洲自拍偷拍图区| 亚洲精品久久7777| 国产精品久久夜| 久久精品亚洲麻豆av一区二区| 欧美电影免费观看高清完整版| 欧美日韩免费一区二区三区 | 精品少妇一区二区三区在线视频 | 99久久国产综合精品女不卡| 国产中文一区二区三区| 久久成人免费网| 麻豆一区二区三区| 美女高潮久久久| 蜜臀av性久久久久蜜臀av麻豆| 肉色丝袜一区二区| 日韩电影在线免费| 美女视频网站黄色亚洲| 激情文学综合插| 久久99日本精品| 国产精品1024久久| 国产精品18久久久久久久久| 国产精品88888| 成人午夜视频福利| 91最新地址在线播放| 色综合色狠狠天天综合色| 91久久免费观看| 欧美日韩国产综合一区二区三区| 欧美日韩三级视频| 日韩精品一区在线| 国产午夜亚洲精品午夜鲁丝片| 国产女同性恋一区二区| 亚洲少妇最新在线视频| 亚洲一二三四久久| 日本va欧美va精品发布| 国产精品资源网| av不卡一区二区三区| 欧美少妇bbb| 精品久久久三级丝袜| 国产农村妇女精品| 亚洲小说欧美激情另类| 九色|91porny| 岛国精品在线播放| 欧美美女网站色| 26uuu欧美| 夜夜精品视频一区二区| 久久99精品久久久久久久久久久久 | 国产在线一区二区综合免费视频| 成人中文字幕合集| 欧美日韩国产另类不卡| 久久久精品国产免大香伊| 亚洲欧美国产77777| 伦理电影国产精品| 成av人片一区二区| 91精品国产美女浴室洗澡无遮挡| 精品福利一区二区三区免费视频| 亚洲欧美色一区| 精品一区二区三区的国产在线播放 | 国产aⅴ综合色| 欧美午夜寂寞影院| 欧美经典一区二区三区| 五月综合激情婷婷六月色窝| 国产成人在线色| 9191成人精品久久| 亚洲欧美日韩在线播放| 精品亚洲欧美一区| 欧美性生活影院| 欧美国产在线观看| 日韩不卡一二三区| 在线观看精品一区| 国产精品久久久久久久久久免费看 | 亚洲免费av高清| 国产精品影音先锋| 欧美妇女性影城| 亚洲精品午夜久久久| 国产福利一区在线观看| 欧美一区二区三区四区在线观看| 成人欧美一区二区三区小说| 国产在线不卡一卡二卡三卡四卡| 欧美年轻男男videosbes| ●精品国产综合乱码久久久久| 国产精品资源站在线| 日韩欧美成人激情| 日本成人在线视频网站| 欧美日韩在线播| 亚洲最大色网站| 一本大道久久a久久综合| 国产精品久99| 成人精品视频一区| 国产精品视频免费| 国产精品18久久久久久久网站| 日韩精品专区在线影院重磅| 日本在线不卡视频| 欧美精品久久一区二区三区| 亚洲在线视频免费观看| 91国内精品野花午夜精品| 中文字幕日韩一区| www.色精品| 最新高清无码专区| 色狠狠一区二区三区香蕉| 国产精品第13页| 色狠狠桃花综合| 亚洲网友自拍偷拍| 欧美日韩不卡视频|