- From: <bugzilla@jessica.w3.org>
- Date: Mon, 20 May 2013 19:53:50 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22094 --- Comment #3 from Masayuki Nakano <masayuki@d-toybox.com> --- Then, https://dvcs.w3.org/hg/ime-api/raw-file/tip/proposals/IMEProposal.html#widl-HTMLElement-getInputContext-InputMethodContext > Returns an InputMethodContext interface associated with *this* element, regardless of whether it's editable or not. "this" sounds strange for me. Additionally, in following case, what happens? <body> <div id="parent"> <div id="child"> <em id="em">foo bar</em>. </div> </div> </body> var contextOfEm = document.getElementById("em").getInputContext(); var contentOfParent = document.getElementById("parent").getInputContext(); // Are the both result of .target are null? document.getElementById("child").setAttribute("contenteditable", "true"); // Is the result of contentOfEm.target the <div id="child"> element, but contentOfParent.target is null? document.body.setAttribute("contenteditable", "true"); // Are the both result of .target the <body> element? If so, each InputMethodContext instance needs to store the element which created the instance? -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Monday, 20 May 2013 19:53:56 UTC