Skip to content
  • justing's avatar
    LayoutTests: · dcdb2794
    justing authored
            Reviewed by darin
            
            <rdar://problem/5065910> REGRESSION: In Mail and GMail, Can't apply color to pasted line of text
            <rdar://problem/5084241> After deleting a paragraph of colored text, can't change text color
            <rdar://problem/5065605> REGRESSION: Text copied with Select All + Copy loses color on Paste
            <rdar://problem/4916887> GMAIL: Can't apply color to text once it becomes indented
    
            * editing/pasteboard/5065605-expected.checksum: Added.
            * editing/pasteboard/5065605-expected.png: Added.
            * editing/pasteboard/5065605-expected.txt: Added.
            * editing/pasteboard/5065605.html: Added.
            * editing/style/4916887-expected.checksum: Added.
            * editing/style/4916887-expected.png: Added.
            * editing/style/4916887-expected.txt: Added.
            * editing/style/4916887.html: Added.
            * editing/style/5065910-expected.checksum: Added.
            * editing/style/5065910-expected.png: Added.
            * editing/style/5065910-expected.txt: Added.
            * editing/style/5065910.html: Added.
            * editing/style/5084241-expected.checksum: Added.
            * editing/style/5084241-expected.png: Added.
            * editing/style/5084241-expected.txt: Added.
            * editing/style/5084241.html: Added.
    
    WebCore:
    
            Reviewed by darin
            
            <rdar://problem/5065910> REGRESSION: In Mail and GMail, Can't apply color to pasted line of text
            <rdar://problem/5084241> After deleting a paragraph of colored text, can't change text color
            <rdar://problem/5065605> REGRESSION: Text copied with Select All + Copy loses color on Paste
            <rdar://problem/4916887> GMAIL: Can't apply color to text once it becomes indented
    
            * css/CSSComputedStyleDeclaration.cpp:
            (WebCore::CSSComputedStyleDeclaration::copyInheritableProperties):
            If a node's text fill color is invalid, then its children use 
            their font-color as their text fill color (they don't inherit 
            it).  Likewise for stroke color.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    dcdb2794