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

Side by Side Diff: LayoutTests/fast/css-generated-content/attr-content-dynamic.html

Issue 609813002: Use LocalStyleChange for content:attr() changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/fast/css-generated-content/attr-content-dynamic-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #before::before, #after::after { content: attr(my-value) }
4 </style>
5 <p>You should see two PASSes below.</p>
6 <div id="before">SS</div>
7 <div id="after">PA</div>
8 <script>
9 document.body.offsetTop; // force layout
10
11 before.setAttribute("my-value", "PA");
12 after.setAttribute("my-value", "SS");
chrishtr 2014/09/26 17:31:56 Please make an example that has a subtree and veri
rune 2014/09/27 13:10:34 Done.
13 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-generated-content/attr-content-dynamic-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698