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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-all.html

Issue 335733003: Added layout tests for all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <style>
4 #initial { all: initial; }
5 #inherit { all: inherit; }
6 #invalid { all: green; }
7 #notOnlyInitial { all: initial; color: green; }
8 #notOnlyInherit { all: inherit; color: green; }
9 </style>
10 <div id="initial"></div>
11 <div id="inherit"></div>
12 <div id="invalid"></div>
13 <div id="notOnlyInitial"></div>
14 <div id="notOnlyInherit"></div>
15 <script>
16 description('Test calling getPropertyValue on computed styles for all shorthand property.');
17
18 shouldBeEqualToString('getComputedStyle(document.getElementById("initial")).all' , "");
19 shouldBeEqualToString('getComputedStyle(document.getElementById("inherit")).all' , "");
20 shouldBeEqualToString('getComputedStyle(document.getElementById("invalid")).all' , "");
21 shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInitial" )).all', "");
22 shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInherit" )).all', "");
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698