<rdar://problem/8858548> Disable inheritance of text emphasis marks to ruby text
https://bugs.webkit.org/show_bug.cgi?id=52359

Reviewed by Dave Hyatt.

Source/WebCore: 

Test: fast/ruby/text-emphasis.html

* css/html.css:
(rt):

LayoutTests: 

* fast/ruby/text-emphasis-expected.txt: Added.
* fast/ruby/text-emphasis.html: Added.



git-svn-id: svn://svn.chromium.org/blink/trunk@75707 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index c9b0536..aa2664e 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2011-01-13  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by Dave Hyatt.
+
+        <rdar://problem/8858548> Disable inheritance of text emphasis marks to ruby text
+        https://bugs.webkit.org/show_bug.cgi?id=52359
+
+        Test: fast/ruby/text-emphasis.html
+
+        * css/html.css:
+        (rt):
+
 2011-01-13  Csaba Osztrogonác  <ossy@webkit.org>
 
         Rubber-stamped by David Levin.
diff --git a/Source/WebCore/css/html.css b/Source/WebCore/css/html.css
index d6fbbdf..fb3a2c8 100644
--- a/Source/WebCore/css/html.css
+++ b/Source/WebCore/css/html.css
@@ -2,7 +2,7 @@
  * The default style sheet used to render HTML.
  *
  * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
- * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -739,6 +739,7 @@
 
 rt {
     line-height: normal;
+    -webkit-text-emphasis: none;
 }
 
 ruby > rt {