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

Side by Side Diff: LayoutTests/fast/css/invalidation/content-attr-style-mutation.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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #target::before { content: "FAIL (string) "; }
4 </style>
5 <div id="target">test</div>
6 <script>
7 onload = function(){
8 target.setAttribute("my-attr", "FAIL (attribute) ");
9 target.offsetTop;
10 document.styleSheets[0].cssRules[0].style.content = "attr(my-attr)";
11 target.setAttribute("my-attr", "PASS ");
12 };
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698