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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/ruby-text.html

Issue 2150143002: Don't over-flip when mapping visual rects for Ruby text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rework tests to use Ahem. Created 4 years, 5 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/ahem.js"></script>
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 <div style="font-family: Ahem; font-size: 10px;">
5 <ruby id="outside">b<rt id="inside">c</rt></ruby>
6 </div>
7 <script>
8 // Tests that ruby text paint invalidation works correctly. The result should
9 // be horizontal text as a pink box with a smaller blue box above it.
10 onload = runRepaintAndPixelTest;
11 function repaintTest() {
12 outside.style.color = "pink";
13 inside.style.color = "blue";
14 }
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698