Use the rare data's RenderStyle for display: contents.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 May 2017 12:18:24 +0000 (12:18 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 May 2017 12:18:24 +0000 (12:18 +0000)
commit217489da2b45ca6365d38fdacd0bac936eff7c0d
tree6f53b0237aa389e24370906ffa4ec486a4fc56ca
parent20830c5350c8deaa72a7b4a1801f7cc54d76d688
Use the rare data's RenderStyle for display: contents.
https://bugs.webkit.org/show_bug.cgi?id=172721

Patch by Emilio Cobos Ãlvarez <ecobos@igalia.com> on 2017-05-31
Reviewed by Antti Koivisto.

No new tests, no behavior change.

* dom/Element.cpp:
(WebCore::Element::hasDisplayContents):
(WebCore::Element::storeDisplayContentsStyle):
* dom/Element.h:
* dom/ElementRareData.h:
(WebCore::ElementRareData::ElementRareData):
* style/RenderTreeUpdater.cpp:
(WebCore::RenderTreeUpdater::updateElementRenderer):
* style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveComposedTree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/editing/execCommand/justify-right-then-indent-with-problematic-body-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/dom/Element.cpp
Source/WebCore/dom/Element.h
Source/WebCore/dom/ElementRareData.h
Source/WebCore/style/RenderTreeUpdater.cpp
Source/WebCore/style/StyleTreeResolver.cpp