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

Side by Side Diff: LayoutTests/fast/css/variables/cssom-create.html

Issue 18311002: Partial implementation of CSSVariablesMap for CSS Variables CSSOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased onto ToT, cleaned up includes Created 7 years, 5 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
3 <style>
4 div {
5 var-color: darkred;
6 background-color: darkred;
7 background-color: var(color);
8 }
9 </style>
10
11 <div id="div1" style="background-color: white;">This line should end with a stri ngified CSSVariablesMap: </div>
12 <div id="div2">Testing set method. This div should be green.</div>
13
14 <script>
15 var div1 = document.querySelector("#div1");
16 var div2 = document.querySelector("#div2");
17
18 div1.innerText += div1.style.var;
19 div2.style.var.set("color", "green");
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698