Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(387)

Delta Between Two Patch Sets: LayoutTests/imported/w3c/web-platform-tests/intersection-observer/resources/timestamp-subframe.html

Issue 359780043: WIP for IO
Left Patch Set: Computed root bounds correctly. Now 13/24 WPTs pass Created 5 years, 8 months ago
Right Patch Set: 22 tests pass Created 5 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 <!DOCTYPE html>
2 <style>
3 #target {
4 width: 100px;
5 height: 100px;
6 background-color: green;
7 }
8 .spacer {
9 width: height: 100px
10 }
11 </style>
12
13 <div class="spacer"></div>
14 <div id="target"></div>
15 <div class="spacer"></div>
16
17 <script>
18 document.createObserverCallback = function(entries) {
19 return function(newEntries) {
20 for (var i in newEntries) {
21 entries.push(newEntries[i]);
22 }
23 };
24 }
25 document.createObserver = function(callback) {
26 return new IntersectionObserver(callback, {});
27 };
28 </script>
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b