Skip to content

Commit

Permalink
Support testing of transparent content DocumentMarkers
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=274286
rdar://128232590

Reviewed by Megan Gardner and Richard Robinson.

* Source/WebCore/testing/Internals.cpp:
(WebCore::markerTypeFrom):

Canonical link: https://commits.webkit.org/278905@main
  • Loading branch information
pxlcoder committed May 17, 2024
1 parent 5ab59d6 commit 3efa438
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/WebCore/testing/Internals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ static bool markerTypeFrom(const String& markerType, DocumentMarker::Type& resul
else if (equalLettersIgnoringASCIICase(markerType, "unifiedtextreplacement"_s))
result = DocumentMarker::Type::UnifiedTextReplacement;
#endif
else if (equalLettersIgnoringASCIICase(markerType, "transparentcontent"_s))
result = DocumentMarker::Type::TransparentContent;
else
return false;

Expand Down

0 comments on commit 3efa438

Please sign in to comment.