Title: [226054] trunk/LayoutTests
Revision
226054
Author
[email protected]
Date
2017-12-18 09:35:28 -0800 (Mon, 18 Dec 2017)

Log Message

Add a test to ensure that matched text markers are not highlighted when highlight is disabled
https://bugs.webkit.org/show_bug.cgi?id=180919

Reviewed by Antti Koivisto.

* fast/text/mark-matches-rendering-when-highlight-disabled-expected.html: Added.
* fast/text/mark-matches-rendering-when-highlight-disabled.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (226053 => 226054)


--- trunk/LayoutTests/ChangeLog	2017-12-18 17:35:01 UTC (rev 226053)
+++ trunk/LayoutTests/ChangeLog	2017-12-18 17:35:28 UTC (rev 226054)
@@ -1,5 +1,15 @@
 2017-12-18  Daniel Bates  <[email protected]>
 
+        Add a test to ensure that matched text markers are not highlighted when highlight is disabled
+        https://bugs.webkit.org/show_bug.cgi?id=180919
+
+        Reviewed by Antti Koivisto.
+
+        * fast/text/mark-matches-rendering-when-highlight-disabled-expected.html: Added.
+        * fast/text/mark-matches-rendering-when-highlight-disabled.html: Added.
+
+2017-12-18  Daniel Bates  <[email protected]>
+
         Add SPI to query for the current and last auto fill button type and pass user data object to _webView:focusShouldStartInputSession:
         https://bugs.webkit.org/show_bug.cgi?id=180774
         <rdar://problem/36033832>

Added: trunk/LayoutTests/fast/text/mark-matches-rendering-when-highlight-disabled-expected.html (0 => 226054)


--- trunk/LayoutTests/fast/text/mark-matches-rendering-when-highlight-disabled-expected.html	                        (rev 0)
+++ trunk/LayoutTests/fast/text/mark-matches-rendering-when-highlight-disabled-expected.html	2017-12-18 17:35:28 UTC (rev 226054)
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html>
+<body>
+<p style="display:inline-block; background-color:red">
+Quo usque tandem abutere, Catilina, patientia nostra?
+</p>
+</body>
+</html>

Added: trunk/LayoutTests/fast/text/mark-matches-rendering-when-highlight-disabled.html (0 => 226054)


--- trunk/LayoutTests/fast/text/mark-matches-rendering-when-highlight-disabled.html	                        (rev 0)
+++ trunk/LayoutTests/fast/text/mark-matches-rendering-when-highlight-disabled.html	2017-12-18 17:35:28 UTC (rev 226054)
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<body>
+<p style="display:inline-block; background-color:red">
+Quo usque tandem abutere, Catilina, patientia nostra?
+</p>
+<script>
+if (window.internals) {
+    internals.setMarkedTextMatchesAreHighlighted(false);
+    internals.countMatchesForText("Quo usque tandem abutere, Catilina, patientia nostra?", [], "mark");
+}
+</script>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to