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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-multiple-blocks-vertical.html

Issue 20806004: Remove Explicit Shapes Enablement in Tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Enabled by default, no need to call internals Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script>
5 if (window.internals)
6 window.internals.settings.setCSSExclusionsEnabled(true);
7 </script>
8 <style> 4 <style>
9 .shape-inside { 5 .shape-inside {
10 width: 200px; 6 width: 200px;
11 height: 300px; 7 height: 300px;
12 -webkit-shape-inside: rectangle(10px, 15px, 170px, 280px); 8 -webkit-shape-inside: rectangle(10px, 15px, 170px, 280px);
13 position: relative; 9 position: relative;
14 } 10 }
15 .rl { -webkit-writing-mode: vertical-rl; } 11 .rl { -webkit-writing-mode: vertical-rl; }
16 .lr { -webkit-writing-mode: vertical-lr; } 12 .lr { -webkit-writing-mode: vertical-lr; }
17 .border { 13 .border {
(...skipping 21 matching lines...) Expand all
39 <div class="border"></div> 35 <div class="border"></div>
40 <div> 36 <div>
41 <p>Paragraph 1. This paragraph should start at the top left corner o f the blue 37 <p>Paragraph 1. This paragraph should start at the top left corner o f the blue
42 rectangle. Its top and bottom edges should be within the blue rectan gle. 38 rectangle. Its top and bottom edges should be within the blue rectan gle.
43 </div> 39 </div>
44 <p>Paragraph 2. This paragraph should be to the right of paragraph 1. It s top 40 <p>Paragraph 2. This paragraph should be to the right of paragraph 1. It s top
45 and bottom edges should also be within the blue rectangle. 41 and bottom edges should also be within the blue rectangle.
46 </div> 42 </div>
47 </body> 43 </body>
48 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698