Update comment added in r92139 per Darin's suggestion.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Aug 2011 21:10:56 +0000 (21:10 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Aug 2011 21:10:56 +0000 (21:10 +0000)
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForElement):

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

Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleSelector.cpp

index 46e2ce0..8dc8454 100644 (file)
@@ -1,5 +1,12 @@
 2011-08-01  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Update comment added in r92139 per Darin's suggestion.
+
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::styleForElement):
+
+2011-08-01  Ryosuke Niwa  <rniwa@webkit.org>
+
         Search field in designMode causes a crash
         https://bugs.webkit.org/show_bug.cgi?id=65362
 
index 6b6a566..66134b9 100644 (file)
@@ -1362,7 +1362,7 @@ PassRefPtr<RenderStyle> CSSStyleSelector::styleForElement(Element* e, RenderStyl
         m_style->font().update(0);
     }
 
-    // Don't propagate user-modify into shadow DOM
+    // Even if surrounding content is user-editable, shadow DOM should act as a single unit, and not necessarily be editable
     if (isAtShadowBoundary(e))
         m_style->setUserModify(RenderStyle::initialUserModify());