Contenteditable not correctly propagated to light tree children |
|||
Issue descriptionThe "Editable text" below should be editable even if the slot to which the child div is assigned is wrapped in elements inside the shadow tree: <host contenteditable><div>Editable text</div></host> See attached test.
,
Feb 6 2018
Fwiw, the host.html test passes in WebKit.
,
Feb 7 2018
,
Feb 7 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f225bcfe5ee31f9e2b0d35fb5cadc7f19bf32abe commit f225bcfe5ee31f9e2b0d35fb5cadc7f19bf32abe Author: Rune Lillesveen <futhark@chromium.org> Date: Wed Feb 07 12:00:10 2018 Propagate contentEditable to light tree children. contentEditable is implemented through -webkit-user-modify. We propagated this property from shadow hosts to distributed children, overriding inheritance through the flat tree for Shadow DOM v0. This CL does the same for Shadow DOM v1. https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable Bug: 809404 Change-Id: I54f3421317fe806fa71a8e4837ef1cc125978c66 Reviewed-on: https://chromium-review.googlesource.com/903925 Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Hayato Ito <hayato@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#534982} [add] https://crrev.com/f225bcfe5ee31f9e2b0d35fb5cadc7f19bf32abe/third_party/WebKit/LayoutTests/external/wpt/html/editing/editing-0/contenteditable/contentEditable-slotted-inherit.html [modify] https://crrev.com/f225bcfe5ee31f9e2b0d35fb5cadc7f19bf32abe/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
,
Feb 7 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by futhark@chromium.org
, Feb 6 2018