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

Side by Side Diff: LayoutTests/fast/css/variables/cssom-update.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 background-color: var(color);
6 border-style: var(border);
7 }
8 </style>
9
10 <div id="outer" style="var-color: darkred; var-border: dashed">
11 This div should be green with a solid border.
12 <div>This div should also be green with a solid border.</div>
13 </div>
14
15 <script>
16 var outer = document.querySelector("#outer");
17
18 outer.style.var.set("color", "green");
19 outer.style.var.set("border", "solid");
20
21 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/variables/cssom-read-expected.txt ('k') | LayoutTests/fast/css/variables/cssom-update-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698