[Webkit-unassigned] [Bug 25536] WebKit needs to expose an Element::spellcheck attribute to javascript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 4 01:56:07 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=25536





--- Comment #14 from MORITA Hajime <morrita at google.com>  2010-11-04 01:56:07 PST ---

> I don't understand what you mean here.  Can you explain what you mean by this?

In my understanding, @spellcheck properety returns the spellcheck availability of the element,
instead of attribute value itself.

For example, Given:
<div spellcheck="true">
    <div id="target">foo</div>
</div>

with:
var target = document.getElementById("target");

In this case, target.spellcheck returns true. 
With [Reflect], this would return false because a missing attribute turns into false.
(... is right? I'm not sure if I understand [Reflect] behavior precisely.)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list