From c282294278b200bdfd83a7ef4645fe1e9e7b2a52 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 24 Jan 2014 16:25:27 -0800 Subject: [PATCH] One minute /after/ release: CSS namespace "-"fix. --- LockScreen.mm | 8 ++++---- PhotoExamplePlus.cydget/foreground.html | 2 +- Welcome.cydget/Welcome.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/LockScreen.mm b/LockScreen.mm index 002b518..dd44657 100644 --- a/LockScreen.mm +++ b/LockScreen.mm @@ -1044,9 +1044,9 @@ bool CYHaveNotificationList() { MSHook(bool, _ZNK7WebCore19MediaQueryEvaluator4evalEPKNS_13MediaQueryExpE, WebCore::MediaQueryEvaluator *_this, WebCore::String &query) { Log(query); if (false); - else if (kCFCoreFoundationVersionNumber >= 800 && StringEquals(query, "cydget-media-controls")) + else if (kCFCoreFoundationVersionNumber >= 800 && StringEquals(query, "-cydget-media-controls")) return CYHaveMediaControls(); - else if (kCFCoreFoundationVersionNumber >= 800 && StringEquals(query, "cydget-notification-list")) + else if (kCFCoreFoundationVersionNumber >= 800 && StringEquals(query, "-cydget-notification-list")) return CYHaveNotificationList(); else return __ZNK7WebCore19MediaQueryEvaluator4evalEPKNS_13MediaQueryExpE(_this, query); @@ -1056,8 +1056,8 @@ MSHook(void, _ZN7WebCore13MediaQueryExpC2ERKN3WTF12AtomicStringEPNS_18CSSParserV Log(query); __ZN7WebCore13MediaQueryExpC2ERKN3WTF12AtomicStringEPNS_18CSSParserValueListE(_this, query, values); if (!_this->valid_) if ( - StringEquals(query, "cydget-media-controls") || - StringEquals(query, "cydget-notification-list") || + StringEquals(query, "-cydget-media-controls") || + StringEquals(query, "-cydget-notification-list") || false) _this->valid_ = true; } diff --git a/PhotoExamplePlus.cydget/foreground.html b/PhotoExamplePlus.cydget/foreground.html index bd9fdaa..15a9ade 100644 --- a/PhotoExamplePlus.cydget/foreground.html +++ b/PhotoExamplePlus.cydget/foreground.html @@ -100,7 +100,7 @@ } } - @media (cydget-media-controls) { + @media (-cydget-media-controls) { #lcd { opacity: 0; } diff --git a/Welcome.cydget/Welcome.html b/Welcome.cydget/Welcome.html index 531127b..38e4de1 100644 --- a/Welcome.cydget/Welcome.html +++ b/Welcome.cydget/Welcome.html @@ -130,13 +130,13 @@ top: -5px; } - @media (cydget-media-controls) { + @media (-cydget-media-controls) { #lcd { opacity: 0; } } - @media (cydget-notification-list) { + @media (-cydget-notification-list) { #content { opacity: 0; } -- 2.45.2