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

Side by Side Diff: LayoutTests/fast/css/variables/cssom-persistence.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 <pre id="inline">Persistent JS object for element.style.var: </pre>
4 <pre id="computed">Persistent JS object for getComputedStyle(element).var: </pre >
5
6 <script>
7 if (window.testRunner) {
8 window.testRunner.dumpAsText();
9 }
10
11 var pre = document.querySelector("#inline");
12 pre.style.var.testAddingKey = "pass";
13 pre.innerText += pre.style.var.testAddingKey;
14
15 pre = document.querySelector("#computed");
16 var style = getComputedStyle(pre)
17 style.var.testAddingKey = "pass";
18 pre.innerText += style.var.testAddingKey;
19
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698