haikuwebkit/Source/WebCore/inspector/agents
Tim Nguyen c6e00ea3b0 Implement ::backdrop pseudo element
https://bugs.webkit.org/show_bug.cgi?id=227801

Reviewed by Antti Koivisto.

This adds UA styles, RenderTreeBuilder support and WebInspector support for ::backdrop.
Some imported blink tests now start passing, some still need proper top layer support.

LayoutTests/imported/w3c:

* web-platform-tests/css/css-values/ch-empty-pseudo-recalc-on-font-load-expected.txt:

Source/JavaScriptCore:

* inspector/protocol/CSS.json:

Source/WebCore:

* css/CSSSelector.cpp:
(WebCore::CSSSelector::pseudoId):
* css/CSSSelector.h:
* css/SelectorPseudoElementTypeMap.in:
* css/dialog.css:
(dialog::backdrop):
(::backdrop):
* inspector/agents/InspectorCSSAgent.cpp:
(WebCore::protocolValueForPseudoId):
* rendering/RenderElement.cpp:
(WebCore::RenderElement::backdropRenderer const):
(WebCore::RenderElement::setBackdropRenderer):
* rendering/RenderElement.h:
* rendering/RenderObject.h:
* rendering/style/RenderStyleConstants.cpp:
(WebCore::operator<<):
* rendering/style/RenderStyleConstants.h:
* rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::destroyAndCleanUpAnonymousWrappers):
* rendering/updating/RenderTreeUpdater.cpp:
(WebCore::RenderTreeUpdater::updateAfterDescendants):
* rendering/updating/RenderTreeUpdaterGeneratedContent.cpp:
(WebCore::RenderTreeUpdater::GeneratedContent::updateBackdropRenderer):
* rendering/updating/RenderTreeUpdaterGeneratedContent.h:
* style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolvePseudoStyle):

Source/WebInspectorUI:

* UserInterface/Controllers/CSSManager.js:
(WI.CSSManager.displayNameForPseudoId):

LayoutTests:

* TestExpectations:


Canonical link: https://commits.webkit.org/240666@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281229 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 09:02:02 +00:00
..
page Deduplicate logging channel algorithms 2021-08-07 18:50:12 +00:00
worker Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
InspectorAnimationAgent.cpp Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
InspectorAnimationAgent.h
InspectorApplicationCacheAgent.cpp Remove StringBuilder::appendLiteral 2021-05-24 21:51:47 +00:00
InspectorApplicationCacheAgent.h
InspectorCPUProfilerAgent.cpp
InspectorCPUProfilerAgent.h
InspectorCSSAgent.cpp Implement ::backdrop pseudo element 2021-08-19 09:02:02 +00:00
InspectorCSSAgent.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
InspectorCanvasAgent.cpp Removal of "TypedOM" prefix for CSSOM Object names 2021-08-12 15:47:18 +00:00
InspectorCanvasAgent.h Stop building WebGPU and the WHLSL compiler to decrease binary size 2021-07-30 03:53:49 +00:00
InspectorDOMAgent.cpp Use WeakHashMap and WeakPtr with Node in more places 2021-06-30 22:51:21 +00:00
InspectorDOMAgent.h Use WeakHashMap and WeakPtr with Node in more places 2021-06-30 22:51:21 +00:00
InspectorDOMDebuggerAgent.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
InspectorDOMDebuggerAgent.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
InspectorDOMStorageAgent.cpp
InspectorDOMStorageAgent.h
InspectorDatabaseAgent.cpp
InspectorDatabaseAgent.h Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
InspectorIndexedDBAgent.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
InspectorIndexedDBAgent.h
InspectorLayerTreeAgent.cpp Use WeakHashMap and WeakPtr with Node in more places 2021-06-30 22:51:21 +00:00
InspectorLayerTreeAgent.h Use WeakHashMap and WeakPtr with Node in more places 2021-06-30 22:51:21 +00:00
InspectorMemoryAgent.cpp
InspectorMemoryAgent.h
InspectorNetworkAgent.cpp REGRESSION(r278391) Sometimes load durations show up as large negative numbers in WebInspector 2021-06-30 23:51:58 +00:00
InspectorNetworkAgent.h Only cache GET requests in the memory cache 2021-06-10 19:02:51 +00:00
InspectorPageAgent.cpp Require that callsites of `SnapshotOptions` specify a `PixelFormat` and `DestinationColorSpace` 2021-06-08 16:53:06 +00:00
InspectorPageAgent.h Use Vector<uint8_t> instead of Vector<char> to store bytes in SharedBuffer 2021-06-05 01:16:43 +00:00
InspectorTimelineAgent.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
InspectorTimelineAgent.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
InspectorWorkerAgent.cpp
InspectorWorkerAgent.h
WebConsoleAgent.cpp Remove StringBuilder::appendLiteral 2021-05-24 21:51:47 +00:00
WebConsoleAgent.h
WebDebuggerAgent.cpp
WebDebuggerAgent.h
WebHeapAgent.cpp Drop CheckedLock / CheckedCondition aliases 2021-05-24 18:29:01 +00:00
WebHeapAgent.h