Title: [293976] trunk
Revision
293976
Author
[email protected]
Date
2022-05-09 08:48:32 -0700 (Mon, 09 May 2022)

Log Message

Make input placeholder line-height declaration !important
https://bugs.webkit.org/show_bug.cgi?id=240225

Reviewed by Tim Nguyen.

Source/WebCore:

This is the same the changes made in chromium at
https://chromium-review.googlesource.com/c/chromium/src/+/3594234
and Firefox change at
https://phabricator.services.mozilla.com/D116907

* css/html.css:
(input::placeholder):

LayoutTests:

Unskip the test that passes.
* TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (293975 => 293976)


--- trunk/LayoutTests/ChangeLog	2022-05-09 15:17:26 UTC (rev 293975)
+++ trunk/LayoutTests/ChangeLog	2022-05-09 15:48:32 UTC (rev 293976)
@@ -1,3 +1,13 @@
+2022-05-09  Ziran Sun  <[email protected]>
+
+        Make input placeholder line-height declaration !important
+        https://bugs.webkit.org/show_bug.cgi?id=240225
+
+        Reviewed by Tim Nguyen.
+
+        Unskip the test that passes. 
+        * TestExpectations:
+
 2022-05-09  Antoine Quint  <[email protected]>
 
         REGRESSION (r291817): NativeImage passed to RemoteResourceCacheProxy::recordNativeImageUse may be null

Modified: trunk/LayoutTests/TestExpectations (293975 => 293976)


--- trunk/LayoutTests/TestExpectations	2022-05-09 15:17:26 UTC (rev 293975)
+++ trunk/LayoutTests/TestExpectations	2022-05-09 15:48:32 UTC (rev 293976)
@@ -662,7 +662,6 @@
 imported/w3c/web-platform-tests/html/editing/editing-0/spelling-and-grammar-checking/spelling-markers-008.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/editing/editing-0/spelling-and-grammar-checking/spelling-markers-010.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/rendering/bindings/the-select-element-0/option-label.html [ ImageOnlyFailure ]
-imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/form-controls/input-placeholder-line-height.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html [ ImageOnlyFailure ]

Modified: trunk/Source/WebCore/ChangeLog (293975 => 293976)


--- trunk/Source/WebCore/ChangeLog	2022-05-09 15:17:26 UTC (rev 293975)
+++ trunk/Source/WebCore/ChangeLog	2022-05-09 15:48:32 UTC (rev 293976)
@@ -1,3 +1,18 @@
+2022-05-09  Ziran Sun  <[email protected]>
+
+        Make input placeholder line-height declaration !important
+        https://bugs.webkit.org/show_bug.cgi?id=240225
+
+        Reviewed by Tim Nguyen.
+
+        This is the same the changes made in chromium at
+        https://chromium-review.googlesource.com/c/chromium/src/+/3594234
+        and Firefox change at
+        https://phabricator.services.mozilla.com/D116907
+
+        * css/html.css:
+        (input::placeholder):
+
 2022-05-09  Antoine Quint  <[email protected]>
 
         REGRESSION (r291817): NativeImage passed to RemoteResourceCacheProxy::recordNativeImageUse may be null

Modified: trunk/Source/WebCore/css/html.css (293975 => 293976)


--- trunk/Source/WebCore/css/html.css	2022-05-09 15:17:26 UTC (rev 293975)
+++ trunk/Source/WebCore/css/html.css	2022-05-09 15:48:32 UTC (rev 293976)
@@ -768,7 +768,7 @@
     white-space: pre;
     word-wrap: normal;
     overflow: hidden;
-    line-height: initial;
+    line-height: initial !important;
 }
 
 input:is([type="hidden"], [type="image"], [type="file"]) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to