Summary: | Element.isContentEditable should return true in hidden elements | ||
---|---|---|---|
Product: | WebKit | Reporter: | Piotrek Koszuliński (Reinmar) <pkoszulinski> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | aleksander, ap, enrica, kling, koivisto, man.zhong, rniwa |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Piotrek Koszuliński (Reinmar)
2014-05-29 00:47:59 PDT
This issue causes CKEditor to initialize in read only mode if initialization happened in hidden container. This is a common case for SPAs. Of course it can be workaround by getAttribute('contenteditable') and DOM traversing, but it's hard to control whether editor is visible when reading isContentEditable. And switching to deoptimised version is not good option, because we use this check very often. Related ticket: http://dev.ckeditor.com/ticket/9814 checked on WebKit-EFL, can't repro this issue. Doesn't reproduce on the latest nightly builds of WebKit either. It's probably fixed by http://trac.webkit.org/changeset/160966. In which version of Safari that commit will be included? I can still reproduce this issue on Safari 7.0.4. Please test with a nightly build from <http://nightly.webkit.org>. We never discuss future Apple releases. |