Title: [283254] trunk/Source/WebCore
Revision
283254
Author
akeer...@apple.com
Date
2021-09-29 13:14:31 -0700 (Wed, 29 Sep 2021)

Log Message

Remove references to '-webkit-clear-button'
https://bugs.webkit.org/show_bug.cgi?id=230971

Reviewed by Simon Fraser.

The pseudo-element was removed in r150876.

* css/html.css:
* css/parser/CSSSelectorParser.cpp:
(WebCore::CSSSelectorParser::splitCompoundAtImplicitShadowCrossingCombinator):

Updated comment to use a pseudo-element which exists.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (283253 => 283254)


--- trunk/Source/WebCore/ChangeLog	2021-09-29 20:06:54 UTC (rev 283253)
+++ trunk/Source/WebCore/ChangeLog	2021-09-29 20:14:31 UTC (rev 283254)
@@ -1,3 +1,18 @@
+2021-09-29  Aditya Keerthi  <akeer...@apple.com>
+
+        Remove references to '-webkit-clear-button'
+        https://bugs.webkit.org/show_bug.cgi?id=230971
+
+        Reviewed by Simon Fraser.
+
+        The pseudo-element was removed in r150876.
+
+        * css/html.css:
+        * css/parser/CSSSelectorParser.cpp:
+        (WebCore::CSSSelectorParser::splitCompoundAtImplicitShadowCrossingCombinator):
+
+        Updated comment to use a pseudo-element which exists.
+
 2021-09-29  Kimmo Kinnunen  <kkinnu...@apple.com>
 
         MediaStream canvas.captureStream() fails for WebGL

Modified: trunk/Source/WebCore/css/html.css (283253 => 283254)


--- trunk/Source/WebCore/css/html.css	2021-09-29 20:06:54 UTC (rev 283253)
+++ trunk/Source/WebCore/css/html.css	2021-09-29 20:14:31 UTC (rev 283254)
@@ -449,13 +449,6 @@
     content: none !important;
 }
 
-input::-webkit-clear-button {
-    -webkit-appearance: searchfield-cancel-button;
-    display: inline-block;
-    flex: none;
-    margin-left: 2px;
-}
-
 input[type="search"]::-webkit-search-cancel-button {
     -webkit-appearance: searchfield-cancel-button;
     display: block;

Modified: trunk/Source/WebCore/css/parser/CSSSelectorParser.cpp (283253 => 283254)


--- trunk/Source/WebCore/css/parser/CSSSelectorParser.cpp	2021-09-29 20:06:54 UTC (rev 283253)
+++ trunk/Source/WebCore/css/parser/CSSSelectorParser.cpp	2021-09-29 20:14:31 UTC (rev 283254)
@@ -1047,7 +1047,7 @@
     // to their left, which really makes for a new compound selector, yet it's consumed by
     // the selector parser as a single compound selector.
     //
-    // Example: input#x::-webkit-clear-button -> [ ::-webkit-clear-button, input, #x ]
+    // Example: input#x::-webkit-inner-spin-button -> [ ::-webkit-inner-spin-button, input, #x ]
     //
     CSSParserSelector* splitAfter = compoundSelector.get();
     while (splitAfter->tagHistory() && !splitAfter->tagHistory()->needsImplicitShadowCombinatorForMatching())
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to