Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decor...
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Nov 2015 22:07:51 +0000 (22:07 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Nov 2015 22:07:51 +0000 (22:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
https://bugs.webkit.org/show_bug.cgi?id=151218
<rdar://problem/23521702>

Reviewed by Myles Maxfield.

Source/WebCore:

Added fast/text/text-combine-shrink-on-color-change.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange):

LayoutTests:

* fast/text/text-combine-shrink-on-color-change.html: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
* platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192388 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/text/text-combine-shrink-on-color-change.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderCombineText.cpp

index 7bd4203..0d326c7 100644 (file)
@@ -1,3 +1,15 @@
+2015-11-12  David Hyatt  <hyatt@apple.com>
+
+        Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
+        https://bugs.webkit.org/show_bug.cgi?id=151218
+        <rdar://problem/23521702>
+
+        Reviewed by Myles Maxfield.
+
+        * fast/text/text-combine-shrink-on-color-change.html: Added.
+        * platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png: Added.
+        * platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt: Added.
+
 2015-11-12  Ryan Haddad  <ryanhaddad@apple.com>
 
         Marking storage/indexeddb/modern/idbindex-properties-basic.html as flaky on mac-wk1
diff --git a/LayoutTests/fast/text/text-combine-shrink-on-color-change.html b/LayoutTests/fast/text/text-combine-shrink-on-color-change.html
new file mode 100644 (file)
index 0000000..0d20b79
--- /dev/null
@@ -0,0 +1,13 @@
+<div id="change" style="
+    height: 200px;
+    -webkit-writing-mode: vertical-lr;
+    font-family: HiraMinProN-W3;
+    font-size: 36px;
+">
+    1 <span id="target" style="-webkit-text-combine: horizontal;">123456</span> 2
+</div>
+<script>
+document.body.offsetLeft;
+document.getElementById('change').style.color='green';
+document.body.offsetLeft;
+</script>
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png b/LayoutTests/platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png
new file mode 100644 (file)
index 0000000..32443ad
Binary files /dev/null and b/LayoutTests/platform/mac/fast/text/text-combine-shrink-on-color-change-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt b/LayoutTests/platform/mac/fast/text/text-combine-shrink-on-color-change-expected.txt
new file mode 100644 (file)
index 0000000..d5c8c2f
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 54x200 [color=#008000]
+        RenderText {#text} at (9,0) size 36x34
+          text run at (9,0) width 34: "1 "
+        RenderInline {SPAN} at (0,0) size 36x37
+          RenderCombineText {#text} at (9,33) size 36x37
+            text run at (9,33) width 36: "\x{FFFC}"
+        RenderText {#text} at (9,69) size 36x34
+          text run at (9,69) width 34: " 2"
index 566ec93..892c906 100644 (file)
@@ -1,3 +1,16 @@
+2015-11-12  David Hyatt  <hyatt@apple.com>
+
+        Tatechuyoko shrink-to-fit breaks after changing color, background-color or text-decoration
+        https://bugs.webkit.org/show_bug.cgi?id=151218
+        <rdar://problem/23521702>
+
+        Reviewed by Myles Maxfield.
+
+        Added fast/text/text-combine-shrink-on-color-change.html
+
+        * rendering/RenderCombineText.cpp:
+        (WebCore::RenderCombineText::styleDidChange):
+
 2015-11-12  Anders Carlsson  <andersca@apple.com>
 
         Use ContextMenuItemTagNoAction instead of ContextMenuItemCustomTagNoAction
index e086e2e..64d5173 100644 (file)
@@ -39,7 +39,11 @@ RenderCombineText::RenderCombineText(Text& textNode, const String& string)
 void RenderCombineText::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
 {
     // FIXME: This is pretty hackish.
-    m_combineFontStyle = RenderStyle::clone(&style());
+    // Only cache a new font style if our old one actually changed. We do this to avoid
+    // clobbering width variants and shrink-to-fit changes, since we won't recombine when
+    // the font doesn't change.
+    if (!oldStyle || oldStyle->fontCascade() != style().fontCascade())
+        m_combineFontStyle = RenderStyle::clone(&style());
 
     RenderText::styleDidChange(diff, oldStyle);