RESOLVED WORKSFORME 24718
Assertion in toRenderBox with rotated text
https://bugs.webkit.org/show_bug.cgi?id=24718
Summary Assertion in toRenderBox with rotated text
Brett Wilson (Google)
Reported 2009-03-20 10:12:03 PDT
WebCore::toRenderBox(const WebCore::RenderObject * o=0x039d8bbc) Line 371 WebCore::RenderObject::transformFromContainer(const WebCore::RenderObject * containerObject=0x039d83c4, const WebCore::IntSize & offsetInContainer={...}) Line 1699 WebCore::RenderLayer::createLocalTransformState(WebCore::RenderLayer * rootLayer=0x039d849c, WebCore::RenderLayer * containerLayer=0x039d849c, const WebCore::IntRect & hitTestRect={...}, const WebCore::IntPoint & hitTestPoint={...}, const WebCore::HitTestingTransformState * containerTransformState=0x0390f7f8) Line 2187 WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer * rootLayer=0x039d849c, WebCore::RenderLayer * containerLayer=0x039d849c, const WebCore::HitTestRequest & request={...}, WebCore::HitTestResult & result={...}, const WebCore::IntRect & hitTestRect={...}, const WebCore::IntPoint & hitTestPoint={...}, bool appliedTransform=false, const WebCore::HitTestingTransformState * transformState=0x0390f7f8, double * zOffset=0x00000000) Line 2248 WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer * rootLayer=0x039d849c, WebCore::RenderLayer * containerLayer=0x05089d9c, const WebCore::HitTestRequest & request={...}, WebCore::HitTestResult & result={...}, const WebCore::IntRect & hitTestRect={...}, const WebCore::IntPoint & hitTestPoint={...}, bool appliedTransform=true, const WebCore::HitTestingTransformState * transformState=0x0390f7f8, double * zOffset=0x00000000) Line 2303 WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer * rootLayer=0x041d6a0c, WebCore::RenderLayer * containerLayer=0x05089d9c, const WebCore::HitTestRequest & request={...}, WebCore::HitTestResult & result={...}, const WebCore::IntRect & hitTestRect={...}, const WebCore::IntPoint & hitTestPoint={...}, bool appliedTransform=false, const WebCore::HitTestingTransformState * transformState=0x00000000, double * zOffset=0x00000000) Line 2234 WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer * rootLayer=0x041d6a0c, WebCore::RenderLayer * containerLayer=0x041d6a0c, const WebCore::HitTestRequest & request={...}, WebCore::HitTestResult & result={...}, const WebCore::IntRect & hitTestRect={...}, const WebCore::IntPoint & hitTestPoint={...}, bool appliedTransform=false, const WebCore::HitTestingTransformState * transformState=0x00000000, double * zOffset=0x00000000) Line 2303 WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer * rootLayer=0x041d6a0c, WebCore::RenderLayer * containerLayer=0x00000000, const WebCore::HitTestRequest & request={...}, WebCore::HitTestResult & result={...}, const WebCore::IntRect & hitTestRect={...}, const WebCore::IntPoint & hitTestPoint={...}, bool appliedTransform=false, const WebCore::HitTestingTransformState * transformState=0x00000000, double * zOffset=0x00000000) Line 2303 WebCore::RenderLayer::hitTest(const WebCore::HitTestRequest & request={...}, WebCore::HitTestResult & result={...}) Line 2112 WebCore::Document::prepareMouseEvent(const WebCore::HitTestRequest & request={...}, const WebCore::IntPoint & documentPoint={...}, const WebCore::PlatformMouseEvent & event={...}) Line 2134 WebCore::EventHandler::prepareMouseEvent(const WebCore::HitTestRequest & request={...}, const WebCore::PlatformMouseEvent & mev={...}) Line 1439 WebCore::EventHandler::handleMouseMoveEvent(const WebCore::PlatformMouseEvent & mouseEvent={...}, WebCore::HitTestResult * hoveredNode=0x05b5eee4) Line 1213 WebCore::EventHandler::mouseMoved(const WebCore::PlatformMouseEvent & event={...}) Line 1160
Attachments
Test case (116 bytes, text/html)
2009-03-20 10:12 PDT, Brett Wilson (Google)
no flags
Brett Wilson (Google)
Comment 1 2009-03-20 10:12:51 PDT
Created attachment 28787 [details] Test case
Brett Wilson (Google)
Comment 2 2009-03-20 10:14:27 PDT
I tested this with r41860 on Intel Mac.
Aaron Golden
Comment 3 2009-07-26 18:55:29 PDT
I'm not seeing this assertion with r46406.
Deepak Mittal
Comment 4 2014-02-17 07:18:34 PST
Crash is not happening on the latest code, But "Hello" is not coming in the chrome as well as the latest webkit build code, But it is working fine on FF. So need to check in webkit..
Deepak Mittal
Comment 5 2014-02-18 22:38:51 PST
I have checked the behavior using : <!DOCTYPE html> <html> <body> <div style="width:0px; height:0px; -webkit-transform:rotate(30deg); transform:rotate(30deg);background-color:red;"> <span style="font-size:50px; background-color:blue;">Hello</span> </div> </body> </html> and <!DOCTYPE html> <html> <body> <div style="-webkit-transform:rotate(30deg); transform:rotate(30deg);background-color:red;"> <span style="font-size:50px; background-color:blue;">Hello</span> </div> </body> </html> behavior is same in chrome,latest webkitcode and FF, and crash is not happening anymore . So we can close this issue
Note You need to log in before you can comment on or make changes to this bug.