Summary: | Button is hidden unexpectedly | ||
---|---|---|---|
Product: | WebKit | Reporter: | Anatoly <a.vostrjakov> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | ap, a.vostrjakov |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.6 | ||
URL: | http://economic.ideamanagment.ru/vk/ |
Description
Anatoly
2011-06-23 00:32:02 PDT
Do you have a reduced test case? Please attach it to this bug if you do. It would be best if it didn't use jQuery, but any reduction would help. "Do you have a reduced test case? Please attach it to this bug if you do." Sorry, but I don't have reduced test case. It's because I can't reproduce this bug only on JS (doesn't matter with jquery or not). The bug is happened only if I go in, go out and go in again in textarea manually. But you can reproduce it easy how I described above. All JS code on this page that is important: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { var commentDescriptions = $('[id^="comment_description_"]'); commentDescriptions.live('focus', function() { var items = $(this).attr("id").split('_'); var idea_id = items.pop(); $('#add_comment_' + idea_id).css('display', 'inline-block'); $(this).addClass('open'); }); commentDescriptions.live('blur', function() { if ($(this).val().length == 0 || $(this).val() == $(this).attr("hintValue")) var items = $(this).attr("id").split('_'); var idea_id = items.pop(); $('#add_comment_' + idea_id).css('display', 'none'); $(this).removeClass('open'); }); }); </script> I forgot to mention: All works correctly in Firefox 4.x, Opera 11, IE7+. Bug is exactly on webkit. The site seems to have changed - I cannot follow the steps to reproduce. (In reply to comment #4) > The site seems to have changed - I cannot follow the steps to reproduce. Yes. Sorry but we couldn't wait any more and go ahead :( When we'll meet again this bug we'll try to describe it better and without jquery or any other libraries. OK - since we cannot do anything about this, closing the bug. |