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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/focus-ring-on-child-move.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementById('child').style.left = '200px';
6 }
7 onload = runRepaintAndPixelTest;
8 </script>
9 Tests paint invalidation of focus ring when child moves. Passes if the focus rin g is updated to contain the yellow areas.
10 <div style="outline: auto; position: absolute; top: 100px; left: 100px; width: 3 00px; height: 20px; background-color: yellow">
11 <div id="child" style="position: absolute; top: -50px; left: 50px; width: 20px ; height: 300px; background-color: yellow"></div>
12 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698