- From: Wonsuk Lee <wonsuk11.lee@samsung.com>
- Date: Wed, 30 May 2012 08:08:24 +0900
- To: '±è¿µº¸' <tonextday@gmail.com>
- Cc: public-html-ig-ko@w3.org
- Message-id: <003f01cd3def$f31cc740$d95655c0$%lee@samsung.com>
¾È³çÇϼ¼¿ä. ±è¿µº¸ ¼±»ý´Ô. ´äº¯ÀÌ ´Ê¾î¼ Á˼ÛÇÕ´Ï´Ù^^; ¸ÕÀú ÁÁÀº input °¨»çÇÕ´Ï´Ù~^^ ¸»¾¸ÇϽŠºÎºÐÀº BrowserÀÇ »óȣȣȯ¼º°ú °ü·ÃÀÌ ÀÖ´Â °Í °°½À´Ï´Ù. Á»´õ ¸íÈ®È÷ È®ÀÎ ÈÄ¿¡ HTML WG¿¡ À̾߱⸦ Çϸé ÁÁÀ» °Í °°½À´Ï´Ù. Âü°í·Î HTML WG¿¡¼ HTML5 Ç¥ÁØ¿¡ ´ëÇÑ Test Cases¸¦ ÁغñÇÏ°í Àִµ¥ ¸»¾¸ÇϽŠºÎºÐµé¿¡ ´ëÇؼµµ ¾Æ¸¶ Test CasesµéÀÌ Ãß°¡µÇ¾î ½ÃÇèÀ» ÇÏ´Â °ÍÀÌ ÇÊ¿äÇØ º¸ÀÔ´Ï´Ù~ ÀÌ¿ø¼® µå¸². From: ±è¿µº¸ [mailto:tonextday@gmail.com] Sent: Sunday, May 20, 2012 3:53 PM To: public-html-ig-ko@w3.org Subject: HTML5 readonly Spec º¸° ¿äû ¾È³çÇϼ¼¿ä. ±è¿µº¸ÀÔ´Ï´Ù. ÀÛÀº »çÇ×ÀÌÁö¸¸ °¡²û È¥µ¿ÀÌ µÇ¾î HTML5 ½ºÆå º¸°À» ÇÏ¸é ¾î¶³±î ÇÏ°í Àû¾î º¾´Ï´Ù. W3C °ü°èµÇ½Ã´Â ºÐÀº °ËÅä/ÀÇ°ß ¼ö·Å ÈÄ¿¡ HTML5 ¿öÅ·±×·ì¿¡ ¿äûÀ» ÇØÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù. Å×½ºÆ®¿¡ »ç¿ëÇÑ ºê¶ó¿ìÀú Chrome 19.0.1084.46 m, Firefox 12.0, IE 9.0.8112.16421, Opera 11.62, Safari 5.1.7(7534.57.2) Å×½ºÆ® ÇüÅ <input id="id1" readonly /> <input id="id2" readonly='' /> <input id="id3" readonly='readonly' /> <input id="id4" readonly='false' /> <input id="id5" readonly=false /> HTML5¿¡¼ readonly attribute°¡ boolean attributeÀ̹ǷΠ#id1°ú °°ÀÌ readonly¸¸ ÀÛ¼ºÇÑ´Ù. ÇÏÁö¸¸ 'Å×½ºÆ®¿¡ »ç¿ëÇÑ ºê¶ó¿ìÀú' ¸ðµÎ read only »óÅ°¡ µÇ¾î °ªÀ» ÀÔ·ÂÇÒ ¼ö ¾ø´Ù. ¶ÇÇÑ JavaScript·Î ¾Æ·¡¿Í °°ÀÌ ½ÇÇàÇÏ¸é ¸ðµÎ true¸¦ ¹ÝȯÇÑ´Ù. for (var k = 1; k < 6; k++){ var value = document.getElementById('id' + k).readOnly; } ºê¶ó¿ìÀú Á¦°ø µð¹ö°Å·Î º¸¸é <input id="id4" readonly='false' />, <input id="id5" readonly=false /> ¸ðµÎ readOnly: "true"·Î ¼³Á¤µÇ¾î ÀÖ´Ù. HTML Document¿¡ ÀÛ¼ºÇÑ °ª°ú HTMLInputElement¿¡ ¼³Á¤µÈ °ªÀÌ ´Ù¸£´Ù´Â °ÍÀÌ È¥µ¿µÈ´Ù. <input id="id6" />¿Í °°ÀÌ readonly¸¦ ÀÛ¼ºÇÏÁö ¾ÊÀº »óÅ¿¡¼ document.getElementById('id6').readOnly = false¸¦ ½ÇÇàÇϸé read only »óÅ°¡ µÈ´Ù. Áï, <input id="id5" readonly=false />, document.getElementById('id6').readOnly = false ÇüÅ¿¡¼ HTML Docuement¿Í JavaScriptÀÇ readonly=false ±â´ÉÀÌ ¹Ý´ë°¡ µÇ¾î È¥¶õµÈ´Ù. {HTML5 Spec. Request} <input id="id4" readonly='false' />, <input id="id5" readonly=false />¸¦ read only »óÅ°¡ ¾Æ´Ñ °ªÀ» ÀÔ·ÂÇÒ ¼ö ÀÖ´Â »óÅ·ΠÇϸé HTML Docuement¿Í JavaScriptÀÇ readonly=false¸¦ ÀÏ°üµÈ °³³äÀ¸·Î »ç¿ëÇÒ ¼ö ÀÖ´Ù. ----------------- ** Tab key¿¡ µû¸¥ À̵¿ ¹× Ä¿¼ Ç¥½Ã Tab key¸¦ Ä¡¸é ´ÙÀ½ÀÇ readonly HTMLInputElement·Î À̵¿ÇÏÁö¸¸ cursor Ç¥½Ã°¡ ÀÏÁ¤ÇÏÁö ¾Ê´Ù. Chrome, Opera, Safari: Ä¿¼°¡ º¸ÀÌÁö ¾Ê´Â´Ù. Firefox, IE: Ä¿¼°¡ º¸ÀδÙ. - Ä¿¼°¡ º¸ÀÌÁö ¾ÊÀ¸¹Ç·Î Ä¿¼ÀÇ À§Ä¡¸¦ ÆľÇÇÒ ¼ö ¾ø¾î °¡½Ã¼ºÀÌ ¶³¾îÁø´Ù. - Ä¿¼°¡ º¸À̹ǷΠÀÔ·Â °¡´ÉÇÑ °ÍÀ¸·Î »ç¿ëÀÚ°¡ »ý°¢ÇÒ ¼ö ÀÖ´Ù. ÇÏÁö¸¸ ½ÇÁ¦·Î ÀÔ·ÂÇÒ ¼ö ¾ø¾î È¥µ¿µÈ´Ù. Mouse·Î readonly HTMLInputElement¸¦ clickÇϸé Chrome, Opera, Safari: clickÀÌ µÇÁö ¾Ê´Â´Ù. Firefox, IE: clickÀÌ µÈ´Ù. - clickÀÌ µÇ¹Ç·Î ¸¶¿ì½ºÀÇ À§Ä¡¸¦ ÆľÇÇÒ ¼ö ÀÖ´Ù. - ÀÔ·Â °¡´ÉÇÑ °ÍÀ¸·Î »ý°¢ÇÒ ¼ö ÀÖÁö¸¸ ½ÇÁ¦·Î ÀÔ·ÂÇÒ ¼ö ¾ø´Ù. - clickÀÌ ¾ÈµÇ¹Ç·Î À߸ø ´©¸¥ °ÍÀ¸·Î »ý°¢ÇÏ¿© ¿©·¯¹ø clickÇÒ ¼öµµ ÀÖ´Ù. ÀÏ¹Ý »ç¿ëÀÚµéÀº ÀÔ·ÂÀÌ ¾ÈµÇ´Â ÀÌÀ¯¸¦ ÀÌÇØÇÏÁö ¸øÇÑ´Ù. {HTML5 Spec. Request} À¥Á¢±Ù¼º°ú HTML5 ±âÁظ¦ ¹Ý¿µÇÏ¿© Spec¿¡ ÇÑ °¡Áö ÇüŸ¦ ¸í½ÃÇßÀ¸¸é ÁÁ°Ú´Ù. ------------------ - Âü°í·Î ºê¶ó¿ìÀú Á¦°ø µð¹ö°Å·Î º¸¸é ¾Æ·¡¿Í °°ÀÌ º¯°æµÈ´Ù. Chrome, Safari: <input type="text" id="id2" readonly /> <input type="text" id="id5" readonly="false" /> IE: <input type="text" id="id1" readonly="" /> <input type="text" id="id2" readonly="" /> <input type="text" id="id3" readonly="" /> <input type="text" id="id4" readonly="" /> <input type="text" id="id5" readonly="" /> Firefox: <input type="text" id="id1" readonly="" /> <input type="text" id="id5" readonly="false" />
Received on Tuesday, 29 May 2012 23:09:15 UTC