Unreviewed, rolling out r100856.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Nov 2011 11:11:03 +0000 (11:11 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Nov 2011 11:11:03 +0000 (11:11 +0000)
http://trac.webkit.org/changeset/100856
https://bugs.webkit.org/show_bug.cgi?id=72867

New test fast/css/style-tag-display-none.html fails on
Chromium (Requested by steveblock on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-11-21

Source/WebCore:

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::matchUARules):

LayoutTests:

* fast/css/style-tag-display-none-expected.txt: Removed.
* fast/css/style-tag-display-none.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100896 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/css/style-tag-display-none-expected.txt [deleted file]
LayoutTests/fast/css/style-tag-display-none.html [deleted file]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleSelector.cpp

index dfe5b8538881a91d5fc41646b114aae8bfec53b1..135a9e4979ee0e08ff200ba4ac08b93b8618e151 100644 (file)
@@ -1,3 +1,15 @@
+2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
+
+        Unreviewed, rolling out r100856.
+        http://trac.webkit.org/changeset/100856
+        https://bugs.webkit.org/show_bug.cgi?id=72867
+
+        New test fast/css/style-tag-display-none.html fails on
+        Chromium (Requested by steveblock on #webkit).
+
+        * fast/css/style-tag-display-none-expected.txt: Removed.
+        * fast/css/style-tag-display-none.html: Removed.
+
 2011-11-21  Jochen Eisinger  <jochen@chromium.org>
 
         Implement Meta referrer
diff --git a/LayoutTests/fast/css/style-tag-display-none-expected.txt b/LayoutTests/fast/css/style-tag-display-none-expected.txt
deleted file mode 100644 (file)
index 6487aee..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x8
-  RenderBlock {HTML} at (0,0) size 800x8
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderInline {A} at (0,0) size 0x0 [color=#551A8B]
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/fast/css/style-tag-display-none.html b/LayoutTests/fast/css/style-tag-display-none.html
deleted file mode 100644 (file)
index a228c7d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <style>
-      .header {
-        overflow: auto;
-        clear: both;
-      }
-    </style>
-  </head>
-<body>
-  <a href=""></a>
-  <script>
-    document.documentElement.setAttribute("dir", "ltr");
-  </script>
-</body>
-</html>
index 63c70fdcd7b76d96627bd86895319fea25c10086..b25c6b445dd0164355a2c06c564793620f9f557f 100644 (file)
@@ -1,3 +1,15 @@
+2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
+
+        Unreviewed, rolling out r100856.
+        http://trac.webkit.org/changeset/100856
+        https://bugs.webkit.org/show_bug.cgi?id=72867
+
+        New test fast/css/style-tag-display-none.html fails on
+        Chromium (Requested by steveblock on #webkit).
+
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::matchUARules):
+
 2011-11-21  Jochen Eisinger  <jochen@chromium.org>
 
         Implement Meta referrer
index d3d528953fa1b52721a131649c730638775c22a8..8aced07bc84d000e5fba60560ab36c99d1b9f529 100644 (file)
@@ -1135,8 +1135,6 @@ void CSSStyleSelector::matchUARules(MatchResult& result)
     MatchingUARulesScope scope;
 
     // First we match rules from the user agent sheet.
-    if (simpleDefaultStyleSheet)
-        result.isCacheable = false;
     RuleSet* userAgentStyleSheet = m_medium->mediaTypeMatchSpecific("print")
         ? defaultPrintStyle : defaultStyle;
     matchRules(userAgentStyleSheet, result.firstUARule, result.lastUARule, false);