[html] Incorrect Element.isContentEditable #16394
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
library-html
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-libraries
Issues impacting dart:html, etc., libraries
This issue was originally filed by Ilya.V...@gmail.com
co19/LibTest/html/Element/isContentEditable_
A01_t01
co19/LibTest/html/Element/isContentEditable_A02_t01
Getter returns false for explicitely set true value:
x = new Element.html('<div contenteditable="true"></div>',
treeSanitizer: new NullTreeSanitizer());
Expect.isTrue(x.isContentEditable, 'explicit true');
Also true value is not properly inherited in a child:
x = new Element.html('<div contenteditable="true"><span><pre></pre></span></div>',
treeSanitizer: new NullTreeSanitizer());
y = x.querySelector('pre');
Expect.isTrue(x.isContentEditable, 'inherited true');
The text was updated successfully, but these errors were encountered: