Reviewed by Hyatt. Tweaked by Maciej. Tweaks reviewed by Beth.
authorbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Jun 2006 17:09:08 +0000 (17:09 +0000)
committerbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Jun 2006 17:09:08 +0000 (17:09 +0000)
commit1f63b91e8004c50e4ab184a522913cadf5866ddd
treefd78c0b9a91550ad57f069c4936993d938f3e84f
parent24793c504e801922dec7c6c24010bb786c7d5bd4
    Reviewed by Hyatt. Tweaked by Maciej. Tweaks reviewed by Beth.
        Landed by Beth.

        CSS3 Media Queries implementation.
        <http://bugzilla.opendarwin.org/show_bug.cgi?id=4127>

        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/kjs_css.cpp:
        (KJS::DOMMediaList::put):
        (KJS::KJS::DOMMediaListProtoFunc::callAsFunction):
        * bindings/objc/DOMCSS.mm:
        (-[DOMMediaList setMediaText:]):
        (-[DOMMediaList deleteMedium:]):
        (-[DOMMediaList appendMedium:]):
        * css/CSSGrammar.y:
        * css/MediaFeatureNames.cpp: Added.
        (WebCore::MediaFeatureNames::init):
        * css/MediaFeatureNames.h: Added.
        * css/MediaList.cpp:
        (WebCore::MediaList::MediaList):
        (WebCore::MediaList::~MediaList):
        (WebCore::parseMediaDescriptor):
        (WebCore::MediaList::deleteMedium):
        (WebCore::MediaList::mediaText):
        (WebCore::MediaList::setMediaText):
        (WebCore::MediaList::item):
        (WebCore::MediaList::appendMedium):
        (WebCore::MediaList::appendMediaQuery):
        * css/MediaList.h:
        (WebCore::MediaList::MediaList):
        (WebCore::MediaList::length):
        (WebCore::MediaList::mediaQueries):
        * css/MediaQuery.cpp: Added.
        (WebCore::MediaQuery::MediaQuery):
        (WebCore::MediaQuery::~MediaQuery):
        (WebCore::MediaQuery::operator==):
        (WebCore::MediaQuery::cssText):
        * css/MediaQuery.h: Added.
        (WebCore::MediaQuery::):
        (WebCore::MediaQuery::restrictor):
        (WebCore::MediaQuery::expressions):
        (WebCore::MediaQuery::mediaType):
        (WebCore::MediaQuery::append):
        * css/MediaQueryEvaluator.cpp: Added.
        (WebCore::):
        (WebCore::MediaQueryEvaluator):
        (WebCore::MediaQueryEvaluator::~MediaQueryEvaluator):
        (WebCore::MediaQueryEvaluator::mediaTypeMatch):
        (WebCore::applyRestrictor):
        (WebCore::MediaQueryEvaluator::eval):
        (WebCore::parseAspectRatio):
        (WebCore::cmpvalue):
        (WebCore::numberValue):
        (WebCore::colorMediaFeatureEval):
        (WebCore::monochromeMediaFeatureEval):
        (WebCore::device_aspect_ratioMediaFeatureEval):
        (WebCore::gridMediaFeatureEval):
        (WebCore::device_heightMediaFeatureEval):
        (WebCore::device_widthMediaFeatureEval):
        (WebCore::heightMediaFeatureEval):
        (WebCore::widthMediaFeatureEval):
        (WebCore::min_colorMediaFeatureEval):
        (WebCore::max_colorMediaFeatureEval):
        (WebCore::min_monochromeMediaFeatureEval):
        (WebCore::max_monochromeMediaFeatureEval):
        (WebCore::min_device_aspect_ratioMediaFeatureEval):
        (WebCore::max_device_aspect_ratioMediaFeatureEval):
        (WebCore::min_heightMediaFeatureEval):
        (WebCore::max_heightMediaFeatureEval):
        (WebCore::min_widthMediaFeatureEval):
        (WebCore::max_widthMediaFeatureEval):
        (WebCore::min_device_heightMediaFeatureEval):
        (WebCore::max_device_heightMediaFeatureEval):
        (WebCore::min_device_widthMediaFeatureEval):
        (WebCore::max_device_widthMediaFeatureEval):
        (WebCore::createFunctionMap):
        * css/MediaQueryEvaluator.h: Added.
        * css/MediaQueryExp.cpp: Added.
        (WebCore::MediaQueryExp::MediaQueryExp):
        (WebCore::MediaQueryExp::~MediaQueryExp):
        * css/MediaQueryExp.h: Added.
        (WebCore::MediaQueryExp::mediaFeature):
        (WebCore::MediaQueryExp::value):
        (WebCore::MediaQueryExp::operator==):
        * css/StyleSheet.cpp:
        (WebCore::StyleSheet::setMedia):
        * css/cssparser.cpp:
        (WebCore::CSSParser::CSSParser):
        (WebCore::CSSParser::~CSSParser):
        (WebCore::CSSParser::setupParser):
        (WebCore::CSSParser::parseMediaQuery):
        (WebCore::CSSParser::createFloatingMediaQueryExp):
        (WebCore::CSSParser::sinkFloatingMediaQueryExp):
        (WebCore::CSSParser::createFloatingMediaQueryExpList):
        (WebCore::CSSParser::sinkFloatingMediaQueryExpList):
        (WebCore::CSSParser::createFloatingMediaQuery):
        (WebCore::CSSParser::sinkFloatingMediaQuery):
        * css/cssparser.h:
        * css/cssstyleselector.cpp:
        (WebCore::CSSStyleSelector::CSSStyleSelector):
        (WebCore::CSSStyleSelector::init):
        (WebCore::CSSStyleSelector::~CSSStyleSelector):
        (WebCore::CSSStyleSelector::loadDefaultStyle):
        (WebCore::CSSStyleSelector::matchUARules):
        (WebCore::CSSStyleSelector::styleForElement):
        (WebCore::CSSStyleSelector::pseudoStyleForElement):
        (WebCore::CSSStyleSelector::updateFont):
        (WebCore::CSSStyleSelector::cacheBorderAndBackground):
        (WebCore::CSSStyleSelector::styleRulesForElement):
        (WebCore::CSSRuleSet::addRulesFromSheet):
        * css/cssstyleselector.h:
        * css/maketokenizer:
        * css/tokenizer.flex:
        * dom/DOMImplementation.cpp:
        (WebCore::DOMImplementation::createCSSStyleSheet):
        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::process):
        (WebCore::HTMLLinkElement::setStyleSheet):
        * html/HTMLStyleElement.cpp:
        (WebCore::HTMLStyleElement::childrenChanged):
        * ksvg2/svg/SVGDOMImplementation.cpp:
        (SVGDOMImplementation::createCSSStyleSheet):
        * ksvg2/svg/SVGStyleElement.cpp:
        (WebCore::SVGStyleElement::childrenChanged):
        * page/Frame.cpp:
        (WebCore::Frame::Frame):
        * platform/Screen.h:
        * platform/mac/ScreenMac.mm:
        (WebCore::screenDepthPerComponent):
        (WebCore::screenIsMonochrome):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
257 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/media/import-p-green.css [new file with mode: 0644]
LayoutTests/fast/media/import-p-red.css [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-01.html [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-02.html [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-03.html [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-04.html [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-05-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-05-expected.png [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-05-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-05.html [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-06-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-06-expected.png [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-06-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/media-descriptor-syntax-06.html [new file with mode: 0644]
LayoutTests/fast/media/media-type-syntax-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/media-type-syntax-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/media-type-syntax-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/media-type-syntax-01.html [new file with mode: 0644]
LayoutTests/fast/media/media-type-syntax-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/media-type-syntax-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/media-type-syntax-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/media-type-syntax-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-04.html [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-05-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-05-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-05-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-compound-query-05.html [new file with mode: 0644]
LayoutTests/fast/media/mq-grid-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-grid-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-grid-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-grid-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-grid-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-grid-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-grid-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-grid-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-media-feature-04.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-04.html [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-05-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-05-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-05-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-invalid-syntax-05.html [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-except-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-forward-syntax-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-forward-syntax-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-forward-syntax-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-js-media-forward-syntax.html [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-js-stylesheet-media-04.html [new file with mode: 0644]
LayoutTests/fast/media/mq-min-constraint-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-min-constraint-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-min-constraint-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-min-constraint.html [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-04.html [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-05-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-05-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-05-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-05.html [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-06-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-06-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-06-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-06.html [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-07-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-07-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-07-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-07.html [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-08-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-08-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-08-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-08.html [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-09-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-09-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-09-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-relative-constraints-09.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-04.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-05-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-05-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-05-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-neg-query-05.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-04.html [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-05-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-05-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-05-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-simple-query-05.html [new file with mode: 0644]
LayoutTests/fast/media/mq-valueless-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-valueless-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-valueless-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-valueless.html [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-01-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-01-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-01-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-01.html [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-02-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-02-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-02-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-02.html [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-03-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-03-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-03-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-03.html [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-04-expected.checksum [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-04-expected.png [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-04-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/mq-width-absolute-04.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/kjs_css.cpp
WebCore/bindings/objc/DOMCSS.mm
WebCore/css/CSSGrammar.y
WebCore/css/MediaFeatureNames.cpp [new file with mode: 0644]
WebCore/css/MediaFeatureNames.h [new file with mode: 0644]
WebCore/css/MediaList.cpp
WebCore/css/MediaList.h
WebCore/css/MediaQuery.cpp [new file with mode: 0644]
WebCore/css/MediaQuery.h [new file with mode: 0644]
WebCore/css/MediaQueryEvaluator.cpp [new file with mode: 0644]
WebCore/css/MediaQueryEvaluator.h [new file with mode: 0644]
WebCore/css/MediaQueryExp.cpp [new file with mode: 0644]
WebCore/css/MediaQueryExp.h [new file with mode: 0644]
WebCore/css/StyleSheet.cpp
WebCore/css/cssparser.cpp
WebCore/css/cssparser.h
WebCore/css/cssstyleselector.cpp
WebCore/css/cssstyleselector.h
WebCore/css/maketokenizer
WebCore/css/tokenizer.flex
WebCore/dom/DOMImplementation.cpp
WebCore/html/HTMLLinkElement.cpp
WebCore/html/HTMLStyleElement.cpp
WebCore/ksvg2/svg/SVGDOMImplementation.cpp
WebCore/ksvg2/svg/SVGStyleElement.cpp
WebCore/page/Frame.cpp
WebCore/platform/Screen.h
WebCore/platform/mac/ScreenMac.mm