0
visualstudio 2012 express에서 실행할 때 내 파이어 폭스에서이 기능을 사용하지 않는 이유는 무엇입니까? jsfiddle.net에서 작동합니다.간단한 html 5 캔버스가 작동하지 않습니다.
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<canvas id="myCanvas" width="578" height="200"></canvas>
<script>
var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d');
context.beginPath();
context.moveTo(100, 150);
context.lineTo(450, 50);
context.stroke();
</script>
</body>
</html>
은 FF19.0.2에서 잘 작동합니다. 귀하의 JS 오류 콘솔 및 이것 저것 확인하십시오? VS2012 메뉴의 –
파일 - 찾아보기 - Firefox, FF 15.0.1 및 19.0.2에서 방금 테스트되었습니다. VS가 ASP.NET 개발 서버를 시작하여 FF로 페이지를 제공함을 알립니다. –