Ticket #1776039 (closed defect)
Reportersfbugs |
Opened: 08/17/07 Last modified: 08/17/07 Status: closed Type: defect Resolution: Fixed |
Owner Todd Kloots |
Target Release: Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Changing label fails to resize outer span | ||
| Description: | Using Firefox 2.0.0.6 on Windows XP and OS X. When dynamically changing the label by making it longer, sometimes the outer span element does not resize, causing the button to have background color only on part of the button. You can reproduce the bug by opening the attached HTML and clicking on the "resize" button. This happens with the default CSS, and might be a CSS resolvable problem. When I force the span element to rerender itself, such as by doing: spanElement.innerHTML = spanElement.innerHTML; the span element resizes and the problem is fixed. Any other ideas for workarounds? |
||
| Type: | defect | Observed in Version: | None |
| Component: | Button | Severity: | S3 (normal) |
| Assigned To: | Todd Kloots | Target Release: | |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | |||
| URL: | |||
| Test Information: | |||
Attachments
Attachment #1: 241619_test.html (download)Attachment #2: 245168_button_patch.js.zip (download)
Change History
|
Posted: 08/17/07
|
|
Posted: 08/17/07
Actually, the workaround I submitted doesn't work. Doing this will only disconnect the button element with the outer span element. Not sure how to approach this issue at this point. |
|
Posted: 08/17/07
added to internal bug db #1429416 |
|
Posted: 08/29/07
This issue has been resolved. The fix will be included in the next YUI update. A comment will be added to this bug to notify you when the release is posted and the fix is available for your use. |
|
Posted: 08/29/07
Hi, thanks for taking care of this. But would you know if there's a workaround in the current release or when the next release would be happening? Thanks. |
|
Posted: 09/11/07
You can use the attached patch until 2.3.1 is released. Just include this code in your page after your inclusion of the Button script files. |
|
Posted: 09/11/07
File Added: button_patch.js.zip |
|
Posted: 09/11/07
Thanks, you guys are awesome! |
|
Posted: 09/19/07
The fix for this issue had been posted today as part of the YUI 2.3.1 release. The status of this bug has been set to "pending". The bug will automatically close in two weeks if there is no additional comments posted to the bug. Therefore, if you integrate the latest sources into your build and verify the fix is working, no additional action need be taken. However, if you update to YUI 2.3.1 and you are still seeing this problem, please do the following - set the Group to 2.3.1 By updating the bug as stated above, the Status will reset to open and we will re-investigate the issue. |
sf-robot
|
Posted: 10/4/07
This Tracker item was closed automatically by the system. It was |
|
Posted: 01/7/09
This ticket was imported from Source Forge. Orginially submitted by: jameschao |
This bug report is being forwarded to the author or current owner of the affected component for additional investigation and response.