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

Side by Side Diff: LayoutTests/fast/css/style-scoped/style-scoped-with-dom-operation-expected.txt

Issue 325663003: Remove scoped styles (retry) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix layout test (and expectation) Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests that <style scoped> is correctly applied after DOM operations, i.e. insert Before, appendChild, and removeChild.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Insert a new scoped style before an existing scoped style.
7 PASS window.getComputedStyle(target).backgroundColor is "rgb(255, 0, 0)"
8 Move an inserted scoped style after an existing scoped style.
9 PASS window.getComputedStyle(target).backgroundColor is "rgb(0, 0, 255)"
10 Move an inserted scoped style into grandparent of an existing scoped style.
11 PASS window.getComputedStyle(target).backgroundColor is "rgb(255, 0, 0)"
12 Remove an inserted scoped style.
13 PASS window.getComputedStyle(target).backgroundColor is "rgb(255, 0, 0)"
14 Remove an existing scoped style.
15 PASS window.getComputedStyle(target).backgroundColor is "rgb(0, 128, 0)"
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19 Hello, World!
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698