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

Side by Side Diff: LayoutTests/fast/css/invalidation/content-attr-style-addition.html

Issue 772103002: Collect content:attr(...)-features in RuleFeatureSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Avoid findPropertyIndex when possible. Created 6 years 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/invalidation/content-attr-style-addition-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 #target::before { content: "FAIL (string) "; }
4 </style>
5 <div id="target" my-attr="FAIL (attribute) ">test</div>
6 <script>
7 onload = function(){
8 var s = document.createElement("style");
9 s.textContent = "#target::before { content: attr(my-attr); }"
10 var head = document.querySelector("head");
11 head.appendChild(s);
12 target.offsetTop;
13 target.setAttribute("my-attr", "PASS ");
14 };
15 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/invalidation/content-attr-style-addition-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698