[Webkit-unassigned] [Bug 20348] Background color formatting lost on enter
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 15 12:09:00 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=20348
--- Comment #12 from Ryosuke Niwa <ryosuke.niwa at gmail.com> 2009-07-15 12:08:59 PDT ---
(In reply to comment #11)
> I’m sorry, I don’t understand this part. Where do you need to add this, and
> why? Why does this function’s name have "get" in it?
http://trac.webkit.org/browser/trunk/WebCore/css/CSSComputedStyleDeclaration.cpp
1503 if (!m_node->computedStyle()->textFillColor().isValid())
1504 style->removeProperty(CSSPropertyWebkitTextFillColor, ec);
1505 if (!m_node->computedStyle()->textStrokeColor().isValid())
1506 style->removeProperty(CSSPropertyWebkitTextStrokeColor,
ec);
Because this code, my function still need to be able to access to the render
style of the node.
so I added a new method to CSSComputedStyleDeclaration:
RenderStyle* renderStyleOfNode()
{
ASSERT(m_node);
return m_node->computedStyle();
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list