Title: [89710] trunk/Source/WebCore
- Revision
- 89710
- Author
- [email protected]
- Date
- 2011-06-24 15:32:18 -0700 (Fri, 24 Jun 2011)
Log Message
2011-06-24 Rob Buis <[email protected]>
Rubber-stamped by Nikolas Zimmermann.
All pointer-events fail if text has visibility="hidden"
https://bugs.webkit.org/show_bug.cgi?id=62209
Do not use writing mode aware code for SVG Text.
No new tests needed.
* rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::nodeAtPoint):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (89709 => 89710)
--- trunk/Source/WebCore/ChangeLog 2011-06-24 22:15:29 UTC (rev 89709)
+++ trunk/Source/WebCore/ChangeLog 2011-06-24 22:32:18 UTC (rev 89710)
@@ -1,3 +1,17 @@
+2011-06-24 Rob Buis <[email protected]>
+
+ Rubber-stamped by Nikolas Zimmermann.
+
+ All pointer-events fail if text has visibility="hidden"
+ https://bugs.webkit.org/show_bug.cgi?id=62209
+
+ Do not use writing mode aware code for SVG Text.
+
+ No new tests needed.
+
+ * rendering/svg/SVGInlineTextBox.cpp:
+ (WebCore::SVGInlineTextBox::nodeAtPoint):
+
2011-06-24 Lukasz Slachciak <[email protected]>
Reviewed by Darin Adler.
Modified: trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp (89709 => 89710)
--- trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp 2011-06-24 22:15:29 UTC (rev 89709)
+++ trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp 2011-06-24 22:32:18 UTC (rev 89710)
@@ -736,7 +736,7 @@
if (isVisible || !hitRules.requireVisible) {
if ((hitRules.canHitStroke && (renderer()->style()->svgStyle()->hasStroke() || !hitRules.requireStroke))
|| (hitRules.canHitFill && (renderer()->style()->svgStyle()->hasFill() || !hitRules.requireFill))) {
- FloatPoint boxOrigin = locationIncludingFlipping();
+ FloatPoint boxOrigin(x(), y());
boxOrigin.moveBy(accumulatedOffset);
FloatRect rect(boxOrigin, IntSize(width(), height()));
if (rect.intersects(result.rectForPoint(pointInContainer))) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes