12012-07-30 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com>
2
3 [css] Prefer usage of RenderStyle::textDecorationsInEffect() when rendering
4 https://bugs.webkit.org/show_bug.cgi?id=92659
5
6 Reviewed by NOBODY (OOPS!).
7
8 WebKit currently has a proprietary CSS property
9 '-webkit-text-decorations-in-effect', which as far as I've studied on the code
10 and tested, is only used internally as part of the 'text-decoration' CSS
11 property implementation (as up to CSS spec 2.1). Inside WebCore/rendering, there
12 are mixed usage of both RenderStyle::textDecoration() and
13 RenderStyle::textDecorationsInEffect(). To avoid a possible breach in terms of
14 data redundancy, prefer usage of RenderStyle::textDecorationsInEffect() sounds
15 more correct, after render style adjustments.
16
17 * accessibility/gtk/WebKitAccessibleInterfaceText.cpp:
18 (getAttributeSetForAccessibilityObject):
19 * rendering/RenderObject.cpp:
20 (WebCore::RenderObject::getTextDecorationColors):
21 * rendering/svg/SVGInlineTextBox.cpp:
22 (WebCore::findRenderObjectDefininingTextDecoration):
23 (WebCore::SVGInlineTextBox::paintDecoration):
24