Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 422974
Collapse All | Expand All

(-)js/rwt/widgets/Text.js (+4 lines)
Lines 188-193 Link Here
188
      this.base( arguments, value, oldValue );
188
      this.base( arguments, value, oldValue );
189
      if( this._inputTag == "textarea" ) {
189
      if( this._inputTag == "textarea" ) {
190
        this._styleWrap();
190
        this._styleWrap();
191
        if( rwt.client.Client.isNewMshtml() && rwt.client.Client.getVersion() === 9 ) {
192
          // Bug 422974 - [Text] Multi-Line Text with border-radius not focusable by mouse in IE9
193
          rwt.html.Style.setBackgroundImage( this._inputElement, "static/image/blank.gif" );
194
        }
191
      }
195
      }
192
      // Fix for bug 306354
196
      // Fix for bug 306354
193
      this._inputElement.style.paddingRight = "1px";
197
      this._inputElement.style.paddingRight = "1px";
(-)js/org/eclipse/rwt/test/tests/TextTest.js (+18 lines)
Lines 1427-1432 Link Here
1427
      TestUtil.restoreAppearance();
1427
      TestUtil.restoreAppearance();
1428
    },
1428
    },
1429
1429
1430
    testSetTextAreaBackgroundImage : function() {
1431
      createText( false, true );
1432
1433
      var element = text._getTargetNode().firstChild;
1434
      var image = TestUtil.getCssBackgroundImage( element );
1435
      // Bug 422974 - [Text] Multi-Line Text with border-radius not focusable by mouse in IE9
1436
      var expected = rwt.client.Client.isNewMshtml() && rwt.client.Client.getVersion() === 9;
1437
      assertEquals( expected, image.indexOf( "blank.gif" ) !== -1 );
1438
    },
1439
1440
    testSetInputBackgroundImage : function() {
1441
      createText( false, false );
1442
1443
      var element = text._getTargetNode().firstChild;
1444
      var image = TestUtil.getCssBackgroundImage( element );
1445
      assertTrue( image.indexOf( "blank.gif" ) === -1 );
1446
    },
1447
1430
    /////////
1448
    /////////
1431
    // Helper
1449
    // Helper
1432
1450

Return to bug 422974