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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-empty.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 #rectangles p { 5 #rectangles p {
10 width: 800px; 6 width: 800px;
11 height: 40px; 7 height: 40px;
12 line-height: 20px; 8 line-height: 20px;
13 margin-top: 50px; 9 margin-top: 50px;
14 border: solid green; 10 border: solid green;
15 box-sizing: border-box; 11 box-sizing: border-box;
16 } 12 }
17 13
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 This text should be pushed down below the green rectangle. (There is a po lygon(0px 0px, 1em 0px) shape-inside CSS property on the green rectangle.) 64 This text should be pushed down below the green rectangle. (There is a po lygon(0px 0px, 1em 0px) shape-inside CSS property on the green rectangle.)
69 </p> 65 </p>
70 </div> 66 </div>
71 <p style="margin-top: 50px;"> 67 <p style="margin-top: 50px;">
72 A dimension of every shape-inside on this page is defined to 0. Based on the CSS Exclusions specification: The 'shape-inside' property adds one or more excl usion areas to the element's wrapping context. 68 A dimension of every shape-inside on this page is defined to 0. Based on the CSS Exclusions specification: The 'shape-inside' property adds one or more excl usion areas to the element's wrapping context.
73 This modifies the normal rectangular shape of the content area to a possibly non-rectangular wrapping area. The exclusion areas are defined by subtracting t he shape from the element's content area.<br/> 69 This modifies the normal rectangular shape of the content area to a possibly non-rectangular wrapping area. The exclusion areas are defined by subtracting t he shape from the element's content area.<br/>
74 Every text on this page should be pushed down below its green rectangle. 70 Every text on this page should be pushed down below its green rectangle.
75 </p> 71 </p>
76 </body> 72 </body>
77 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698