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

Side by Side Diff: third_party/WebKit/LayoutTests/resources/intersection-observer-timestamp-subframe.html

Issue 1613543002: Use DOMHighResTimeStamp for notification time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: syntax error in test Created 4 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <div style="height: 200px; width: 100px;"></div>
3 <div id="target" style="background-color: green; width:100px; height:100px"></di v>
4 <div style="height: 200px; width: 100px;"></div>
5 <script>
6 document.createObserverCallback = function(entries) {
7 return function(newEntries) {
8 for (var i in newEntries) entries.push(newEntries[i])
9 };
10 }
11 document.createObserver = function(callback) {
12 return new IntersectionObserver(callback, {});
13 };
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698