[Webkit-unassigned] [Bug 117337] Applied background color is not retained after typing a characters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 24 11:02:02 PDT 2013


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





--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2013-07-24 11:01:53 PST ---
(From update of attachment 207387)
View in context: https://bugs.webkit.org/attachment.cgi?id=207387&action=review

> Source/WebCore/ChangeLog:12
> +        While deleting a selection, only inheritable style properties were
> +        saved. Since background color is considered as noninheritable style
> +        property, it was not being saved and hence was lost. Before deleting
> +        a selection we should save all style properties applied on that
> +        particular selection.

This doesn't explain why it was lost. Which code is removing the node with background color?

> LayoutTests/editing/style/background-color-retained-expected.txt:44
> +PASS span.style.backgroundColor is green
> +This is the test case for defect 117337 : Applied background color is not retained after typing a characters
> +This tests whether background style is retained when old text is deleted/cut and new text is typed in.
> +The background color of the text below should be green.
> +
> +New Text
> +

This output doesn't tell us whether the typed text is green or not.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list