haikuwebkit/Source/WebCore/style
Tim Nguyen 60860019ca Top layer: handle display: contents and non out-of-flow position values
https://bugs.webkit.org/show_bug.cgi?id=229093

Reviewed by Simon Fraser.

From: https://fullscreen.spec.whatwg.org/#new-stacking-layer
If its specified display property is contents, it computes to block.
If its specified position property is not absolute or fixed, it computes to absolute.

Test: imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/modal-dialog-display-contents.html

Source/WebCore:

* style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjust const):
(WebCore::Style::Adjuster::adjustDisplayContentsStyle const):

LayoutTests:

* TestExpectations:

Canonical link: https://commits.webkit.org/240688@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 18:05:00 +00:00
..
AttributeChangeInvalidation.cpp
AttributeChangeInvalidation.h
CascadeLevel.h
ClassChangeInvalidation.cpp
ClassChangeInvalidation.h
ElementRuleCollector.cpp Rename presentationAttributeStyle to presentationalHintStyle to match spec language 2021-05-31 15:02:54 +00:00
ElementRuleCollector.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
IdChangeInvalidation.cpp
IdChangeInvalidation.h
InlineTextBoxStyle.cpp TextDecorationPainter should not depend on LegacyInlineTextBox 2021-08-19 16:08:54 +00:00
InlineTextBoxStyle.h TextDecorationPainter should not depend on LegacyInlineTextBox 2021-08-19 16:08:54 +00:00
InspectorCSSOMWrappers.cpp
InspectorCSSOMWrappers.h
MatchedDeclarationsCache.cpp Rename presentationAttributeStyle to presentationalHintStyle to match spec language 2021-05-31 15:02:54 +00:00
MatchedDeclarationsCache.h
PageRuleCollector.cpp
PageRuleCollector.h
PropertyCascade.cpp
PropertyCascade.h
PseudoClassChangeInvalidation.cpp
PseudoClassChangeInvalidation.h
RuleData.cpp
RuleData.h
RuleFeature.cpp Enable Probabilistic Guard Malloc for RuleData and RuleFeature vectors 2021-06-29 07:19:27 +00:00
RuleFeature.h Use fast malloc for RuleData vectors 2021-08-04 18:02:20 +00:00
RuleSet.cpp Reduce Vector<> wasted capacity in some RuleSet code 2021-08-04 17:39:50 +00:00
RuleSet.h Use fast malloc for RuleData vectors 2021-08-04 18:02:20 +00:00
StyleAdjuster.cpp Top layer: handle display: contents and non out-of-flow position values 2021-08-19 18:05:00 +00:00
StyleAdjuster.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
StyleBuilder.cpp Stop using holdLock() in WebCore as it is not compatible with Clang thread safety analysis 2021-05-22 03:04:24 +00:00
StyleBuilder.h
StyleBuilderConverter.h [css-scroll-snap] Remove ENABLE_SCROLL_SNAP compile-time option 2021-06-24 10:49:27 +00:00
StyleBuilderCustom.h Use an enum for the forVisitedLink argument to BuilderState::colorFromPrimitiveValue() 2021-08-19 15:46:32 +00:00
StyleBuilderGenerated.h
StyleBuilderState.cpp Use an enum for the forVisitedLink argument to BuilderState::colorFromPrimitiveValue() 2021-08-19 15:46:32 +00:00
StyleBuilderState.h Use an enum for the forVisitedLink argument to BuilderState::colorFromPrimitiveValue() 2021-08-19 15:46:32 +00:00
StyleChange.cpp [Multi-column] Remove spanner placeholder when the spanner becomes nested 2021-05-03 15:58:50 +00:00
StyleChange.h
StyleFontSizeFunctions.cpp
StyleFontSizeFunctions.h
StyleInvalidationFunctions.h REGRESSION(iOS 14): Author shadow DOM invalidated unnecessarily on pseudo element change 2021-05-05 04:38:19 +00:00
StyleInvalidator.cpp REGRESSION (maybe r276882): custom properties not available on host on initial paint 2021-06-04 18:52:23 +00:00
StyleInvalidator.h REGRESSION(iOS 14): Author shadow DOM invalidated unnecessarily on pseudo element change 2021-05-05 04:38:19 +00:00
StylePendingResources.cpp
StylePendingResources.h
StyleRelations.cpp
StyleRelations.h
StyleResolveForDocument.cpp
StyleResolveForDocument.h
StyleResolveForFontRaw.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
StyleResolveForFontRaw.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
StyleResolver.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
StyleResolver.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
StyleScope.cpp Check that shadow root is connected in invalidateStyleAfterStyleSheetChange 2021-08-03 07:38:08 +00:00
StyleScope.h Revert r272370: It delays first paint 2021-07-20 23:27:32 +00:00
StyleScopeOrdinal.h Move Style::ScopeOrdinal to a header of its own 2021-05-03 17:08:39 +00:00
StyleScopeRuleSets.cpp Enable Probabilistic Guard Malloc for RuleData and RuleFeature vectors 2021-06-29 07:19:27 +00:00
StyleScopeRuleSets.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
StyleSharingResolver.cpp Rename presentationAttributeStyle to presentationalHintStyle to match spec language 2021-05-31 15:02:54 +00:00
StyleSharingResolver.h Use WeakHashMap and WeakPtr with Node in more places 2021-06-30 22:51:21 +00:00
StyleTreeResolver.cpp Implement ::backdrop pseudo element 2021-08-19 09:02:02 +00:00
StyleTreeResolver.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
StyleUpdate.cpp Render tree updates for Text node content mutations should happen during rendering update 2021-04-20 06:33:49 +00:00
StyleUpdate.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
StyleValidity.h
Styleable.cpp Handle custom identifiers and strings separately, so we can quote strings correctly consistently 2021-06-07 02:39:33 +00:00
Styleable.h Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
UserAgentStyle.cpp All string resources from UserAgentStyleSheets / UserAgentScripts should be used as non-copying StringImpl 2021-03-25 01:55:58 +00:00
UserAgentStyle.h