[Webkit-unassigned] [Bug 141465] Div having contentEditable and display:grid cannot be edited if it is empty.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 12 11:56:19 PST 2015


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

--- Comment #3 from ChangSeok Oh <changseok.oh at collabora.com> ---
(In reply to comment #2)
> Just to give you more information. There're some of these bugs that are both
> in flex and grid, mostly because of they're not RenderBlockFlow.
> 
> In some cases, we need some special methods to check that they're not
> RenderBlockFlow but they're not buttons either (as RenderButton, like
> RenderFullScreen) inherit from RenderFlexibleBox.
> 
> For example take a look to this method:
> http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderBlock.
> cpp#L2927

Thanks for the comment. But I'm not sure if I understand your intention correctly. Why do we need to check that? As my understanding any element can be editable with the contenteditable attribute. https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_Editable
Actually I checked RenderFullScreen is allowed to edit in firefox.
Could you provide me a sample which should not be allowed to edit even though it has a contenteditable attribute?
I think just adding is<RenderGrid>(*renderer) is enough there? (Of course more touches are required to make grid work properly for this case.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150212/18c557b5/attachment-0002.html>


More information about the webkit-unassigned mailing list