safari6

Why is text in disabled form elements not rendered in black in Safari?

陌路散爱 提交于 2020-02-15 07:25:10
问题 I am trying to get the text inside disabled input elements to show up in black . This works in most browsers: input[type="text"][disabled], input[type="text"]:disabled { color: #000000; } In Safari (version 6.0.2), however, the text is slightly brighter. What puzzles me most is that when I select the text in my browser and look up the element information on my console it clearly shows: rgba(0,0,0) So in the code it is black but nonetheless it is rendered in something other than black. How is

Hide and show function not working in Safari

余生颓废 提交于 2019-12-18 09:49:32
问题 This function should stop displaying the #bt_pagamento and start showing the #bt_loading . But Safari (version 6) is the only browser that this function doesn't work. In early versions of Safari ( version 5.1.9 Mac and 5.1.7 Win ) it worked perfectly. $("#bt_pagamento").click(function () { $(this).css({'display':'none'}); $("#bt_loading").show(); }); Does anyone know a work around for this? 回答1: CSS <style> .hide { display: none; } </style> HTML <a href="#" id="bt_pagamento">link</a> <div id=

Disabling JIT in Safari 6 to workaround severe Javascript JIT bugs

邮差的信 提交于 2019-12-04 08:59:10
问题 We found a severe problem with the interpretation of our Javascript code that only occurs on iOS 5/Safari 6 (then current iPad release) that we think is due to critical bug in the Just in Time JS compiler in Safari. (See updates below for more affected versions and versions that seem to now contain a fix). We originally found the issue in our online demos of our library: the demos crash more or less randomly but this happens only the second time (or even later) that the same code is executed.

Why is text in disabled form elements not rendered in black in Safari?

坚强是说给别人听的谎言 提交于 2019-12-01 17:14:19
I am trying to get the text inside disabled input elements to show up in black . This works in most browsers: input[type="text"][disabled], input[type="text"]:disabled { color: #000000; } In Safari (version 6.0.2), however, the text is slightly brighter. What puzzles me most is that when I select the text in my browser and look up the element information on my console it clearly shows: rgba(0,0,0) So in the code it is black but nonetheless it is rendered in something other than black. How is this possible? Is this a Safari bug? Thanks for any help in this matter. Try: -webkit-text-fill-color:

console.log() doesn't work in Safari 6.0 Web Inspector

自古美人都是妖i 提交于 2019-12-01 02:28:11
console.log('hi'); undefined Is there any similar implementation in 6.0? or Did I do something wrong? mko I found the problem! Logs don't appear in the interactive console (which is located on the bottom), but in the Current Log window instead! You can access it through Develop > Show Error Console or the rightmost source icon in the Web Inspector. So strange! Is it that hard to get simple output in the console, like puts and print in Ruby? Make sure that you're selecting "All" at the top of your console window. Sometimes it'll automatically switch to only show Errors, Warnings, or Logs. If

console.log() doesn't work in Safari 6.0 Web Inspector

故事扮演 提交于 2019-11-30 22:01:14
问题 console.log('hi'); undefined Is there any similar implementation in 6.0? or Did I do something wrong? 回答1: I found the problem! Logs don't appear in the interactive console (which is located on the bottom), but in the Current Log window instead! You can access it through Develop > Show Error Console or the rightmost source icon in the Web Inspector. So strange! Is it that hard to get simple output in the console, like puts and print in Ruby? 回答2: Make sure that you're selecting "All" at the