WebKit Bugzilla
Attachment 339827 Details for
Bug 185427
: Add test to verify behavior of -webkit-text-fill-color when inherited
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-185427-20180508095756.patch (text/plain), 2.34 KB, created by
Aditya Keerthi
on 2018-05-08 09:57:57 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Aditya Keerthi
Created:
2018-05-08 09:57:57 PDT
Size:
2.34 KB
patch
obsolete
>Subversion Revision: 231387 >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index 0cb60a7d0bb5a02cb5ddb48f309fe58656c87803..471c6428ed733242dfa277964f2b8e8763faf281 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,13 @@ >+2018-05-08 Aditya Keerthi <akeerthi@apple.com> >+ >+ Add test to verify behavior of -webkit-text-fill-color when inherited. >+ https://bugs.webkit.org/show_bug.cgi?id=185427 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * fast/css/webkit-text-fill-color-inherit-expected.txt: Added. >+ * fast/css/webkit-text-fill-color-inherit.html: Added. >+ > 2018-05-04 Ryan Haddad <ryanhaddad@apple.com> > > Mark animations/duplicate-keys.html as flaky on iOS. >diff --git a/LayoutTests/fast/css/webkit-text-fill-color-inherit-expected.txt b/LayoutTests/fast/css/webkit-text-fill-color-inherit-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..688cc1c75a2b59418a2c7cf2e051d4f43253ba31 >--- /dev/null >+++ b/LayoutTests/fast/css/webkit-text-fill-color-inherit-expected.txt >@@ -0,0 +1,4 @@ >+ >+ >+rgb(0, 255, 0) >+rgb(0, 255, 0) >diff --git a/LayoutTests/fast/css/webkit-text-fill-color-inherit.html b/LayoutTests/fast/css/webkit-text-fill-color-inherit.html >new file mode 100644 >index 0000000000000000000000000000000000000000..64189a33a1d740bebdf023317c9e8f1d5d5ba231 >--- /dev/null >+++ b/LayoutTests/fast/css/webkit-text-fill-color-inherit.html >@@ -0,0 +1,26 @@ >+<html> >+<head> >+ <script> >+ function test() { >+ if (window.testRunner) >+ testRunner.dumpAsText(); >+ >+ var text = ""; >+ text += window.getComputedStyle(document.getElementById("undefined-parent")).webkitTextFillColor; >+ text += "\n"; >+ text += window.getComputedStyle(document.getElementById("defined-parent")).webkitTextFillColor; >+ >+ document.getElementById("result").textContent = text; >+ } >+ </script> >+</head> >+<body onload="test()"> >+ <div style="color: rgb(0, 255, 0)"> >+ <input id="undefined-parent" style="color: rgb(255, 0, 0); -webkit-text-fill-color: inherit"> >+ </div> >+ <div style="-webkit-text-fill-color: rgb(0, 255, 0)"> >+ <input id="defined-parent" style="color: rgb(255, 0, 0); -webkit-text-fill-color: inherit"> >+ </div> >+ <p id="result" style="white-space: pre"></p> >+</body> >+<html>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 185427
:
339827
|
339856
|
340223