Handled nested tags in strikethrough 18/272318/4
authorssabah <s.sabah@samsung.com>
Mon, 14 Mar 2022 12:05:12 +0000 (15:05 +0300)
committershrouq Sabah <s.sabah@samsung.com>
Wed, 23 Mar 2022 06:47:06 +0000 (06:47 +0000)
commite770d32b7703435f37ec18ceadf76df623355c24
tree7bf3e99818510a48e4d4fd0c4482ab99bfd28a6d
parent8ef941787d6c53b99d72ab3cef4a55ae1d9e7e6d
Handled nested tags in strikethrough

The inner tag inherit the attributes of the outer tag and override them when defined in the inner tag
Example:
"<s height='5.0f' color='blue'> outer tag before  <s color='green'> inner tag </s> outer tag after </s>"
"outer tag before" and  "outer tag after" have height = 5.0f and color = 'blue'
"inner tag" has height = 5.0f and color = 'green'

This patch should be preceded by the patch below:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/272264

Change-Id: I7426507b14c73f09aca67b9a22173e8ee5c0db29
automated-tests/src/dali-toolkit-internal/utc-Dali-TextEditor-internal.cpp
automated-tests/src/dali-toolkit-internal/utc-Dali-TextField-internal.cpp
automated-tests/src/dali-toolkit-internal/utc-Dali-TextLabel-internal.cpp
dali-toolkit/internal/text/markup-processor-strikethrough.cpp
dali-toolkit/internal/text/markup-processor-strikethrough.h
dali-toolkit/internal/text/markup-processor.cpp
dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.cpp
dali-toolkit/internal/text/rendering/styles/strikethrough-helper-functions.cpp
dali-toolkit/internal/text/rendering/styles/strikethrough-helper-functions.h
dali-toolkit/internal/text/rendering/text-typesetter.cpp
dali-toolkit/internal/text/strikethrough-style-properties.h