-
bdakin authored
We had a bug where html4.css was ignoring Media Queries. In the ned the problem was that we were trying to send a char* to the MediaQueryEvaluator constructor that expects a String, but the char* got interpreted as a bool, the wrong constructor was called, and the media type was never set. No test case possible since this only affects html4.css * css/MediaQueryEvaluator.cpp: New constructor that expects takes a char* (WebCore::MediaQueryEvaluator): * css/MediaQueryEvaluator.h: Same. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bdakin authoredWe had a bug where html4.css was ignoring Media Queries. In the ned the problem was that we were trying to send a char* to the MediaQueryEvaluator constructor that expects a String, but the char* got interpreted as a bool, the wrong constructor was called, and the media type was never set. No test case possible since this only affects html4.css * css/MediaQueryEvaluator.cpp: New constructor that expects takes a char* (WebCore::MediaQueryEvaluator): * css/MediaQueryEvaluator.h: Same. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Loading