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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/ruby-text-flipped-blocks.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="writing-mode: vertical-rl; 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 in flipped-blocks writing mode works
9 // correctly. The result should be vertical text as a pink box with a smaller
10 // blue box to the right of it.
11 onload = runRepaintAndPixelTest;
12 function repaintTest() {
13 outside.style.color = "pink";
14 inside.style.color = "blue";
15 }
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698