[whatwg] Undoscopes inside an editable region should ignored

Anne van Kesteren annevk at opera.com
Thu Oct 13 18:43:20 PDT 2011


On Fri, 14 Oct 2011 05:07:18 +0900, Ryosuke Niwa <rniwa at webkit.org> wrote:
> On Tue, Oct 11, 2011 at 1:02 PM, Ehsan Akhgari <ehsan at mozilla.com> wrote:
>>> This sounds reasonable. The content attribute should be made
>>> non-conforming in that case. Perhaps the IDL attribute should throw
>>> on setting? Maybe better to just do nothing, but that doesn't give
>>> the author any idea of what's wrong.
>>>
>>> Right.
>>
>> FWIW, I think we should throw in this case.
>
> Suggestions on which exception to throw?

Given that you could just set the content attribute instead, throwing for  
the IDL attribute makes little sense to me. It seems better to just let it  
function per its normal rules and have any such attributes be  
non-conforming and ignored.


-- 
Anne van Kesteren
http://annevankesteren.nl/



More information about the whatwg mailing list