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

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

Issue 2560253004: IntersectionObserver: convert tests to testharness.js (Closed)
Patch Set: Address comments Created 3 years, 11 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 | « third_party/WebKit/LayoutTests/resources/intersection-observer-subframe.html ('k') | no next file » | 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 <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
« no previous file with comments | « third_party/WebKit/LayoutTests/resources/intersection-observer-subframe.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698