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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/repaint-subsequence-on-ancestor-clip-change-complex.html

Issue 1452313004: Don't use cached subsequence when clip changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/run-after-layout-and-paint.js"></script>
3 <script>
4 onload = function() {
5 runAfterLayoutAndPaint(function() {
6 container.style.width = '200px';
7 }, true);
8 };
9 </script>
10 Tests repaint of subsequences when a non-stacking-context ancestor's clip change s.
11 Passes if the text is clipped at the yellow background.
12 <div id="container" style="overflow: hidden; background-color: yellow">
13 <div style="display: inline-block;">
14 <div style="width: 500px">
15 <div style="z-index: 2; position: relative">
16 <span style="display: inline-block; visibility: hidden; opacity: .6; wid th: 10px"></span>
17 Should be clipped: ABCDEFGHIJKLMNOPQRSTUVWXYZ
18 </div>
19 </div>
20 </div>
21 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698