fune/testing/web-platform/tests/css/css-pseudo/first-line-and-placeholder-ref.html
Chris Nardi 7e1d69d031 Bug 1464035 [wpt PR 11136] - Add regression test for ::first-line breaking ::placeholder styles, a=testonly
Automatic update from web-platform-testsAdd regression test for ::first-line breaking ::placeholder styles

A bug was reported where ::first-line broke ::placeholder styling, which
seems to have been fixed in https://crrev.com/550589. However, we don't
currently have a test for this bug. Add in a test to make sure we don't
regress with this bug.

Bug: 806247
Change-Id: I5bbcda1ccf5b3ea08a7b66a68071a802f42e9228
Reviewed-on: https://chromium-review.googlesource.com/1071126
Commit-Queue: Chris Nardi <cnardi@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561526}

--

wpt-commits: a381d5590bd6793152ec87c3f195f4bb83550792
wpt-pr: 11136
2018-06-10 09:26:44 +01:00

10 lines
158 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<style>
input::placeholder {
color: red;
}
</style>
<form>
<input placeholder="this text should be red">
</form>