Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Side by Side Diff: LayoutTests/fast/selectors/placeholder-shown-sibling-style-update-expected.txt

Issue 1280423002: CSS4: Implement :placeholder-shown pseudo class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comments Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Test style update of the :placeholder-shown pseudo class.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Initial state is without placehoder.
7 PASS getComputedStyle(document.getElementById("target1")).backgroundColor is "rg b(255, 255, 255)"
8 PASS getComputedStyle(document.getElementById("target2")).backgroundColor is "rg b(255, 255, 255)"
9 PASS getComputedStyle(document.getElementById("target3")).backgroundColor is "rg b(255, 255, 255)"
10 PASS getComputedStyle(document.getElementById("target4")).backgroundColor is "rg b(255, 255, 255)"
11 Adding a placeholder, the targets should match the style.
12 PASS getComputedStyle(document.getElementById("target1")).backgroundColor is "rg b(1, 2, 3)"
13 PASS getComputedStyle(document.getElementById("target2")).backgroundColor is "rg b(1, 2, 3)"
14 PASS getComputedStyle(document.getElementById("target3")).backgroundColor is "rg b(1, 2, 3)"
15 PASS getComputedStyle(document.getElementById("target4")).backgroundColor is "rg b(1, 2, 3)"
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698