[Webkit-unassigned] [Bug 179605] [GTK] Test editing/execCommand/underline-selection-containing-image.html fails since added in r224649

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 13 07:42:33 PST 2017


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

--- Comment #1 from Wenson Hsieh <wenson_hsieh at apple.com> ---
Thank you for reporting this! If it's okay with you, perhaps we should skip the test on  the non-Cocoa platforms?

Alternately, since this test was originally just checking that we don't hit a debug assertion, I could relax the requirements for this test and just check that textContent is "foo" at the end, instead of requiring an underline.

> But that's not happening in GTK+, Underline command is not modifying the
> tree (I guess because it's applied to the selection that is considered
> empty), so next command just inserts the text replacing the selection (img).

Interesting...does the "Underline" command here have no effect, or is it that the command applies an inline text decoration style rather than wrapping the selection in an underline tag? If it's the latter, I can fix this test by examining the computed style of the text node "foo" for a text decoration.

-- 
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/20171113/f38678a6/attachment.html>


More information about the webkit-unassigned mailing list