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

Unified Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-recursive-layout.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Zoltan's comments Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/shapes/shape-inside/shape-inside-recursive-layout.html
diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-recursive-layout.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-recursive-layout.html
deleted file mode 100644
index 57ba6105a0f2ac753bba1723370c9120d45fd634..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/shapes/shape-inside/shape-inside-recursive-layout.html
+++ /dev/null
@@ -1,96 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src='../resources/simple-rectangle.js'></script>
-<style id='stylesheet'>
-.content {
- font: 50px/1 Ahem, sans-serif;
- color: green;
- word-break: break-all;
- width: 100px;
- height: 100px;
- margin: 0;
- padding: 0;
-}
-#inline-block * {
- display: inline-block;
-}
-#float * {
- float: left;
-}
-#list ul {
- display: inline-block;
- list-style: none;
-}
-#table table {
- display: inline-table;
- border-collapse: collapse;
-}
-#table tr {
- dispay: inline-table;
-}
-#table td, #table tr {
- padding: 0; margin: 0;
-}
-#old-flexbox * {
- display: -webkit-inline-box;
-}
-#new-flexbox * {
- display: -webkit-inline-flex;
-}
-</style>
-<script>
-window.onload = function() {
- var elementBounds = { width: 200, height: 200 };
- var shapeBounds = { x: 50, y: 50, width: 100, height: 100 };
- createRectangleTest('inline-block', 'stylesheet', elementBounds, shapeBounds, 'px');
- createRectangleTest('float', 'stylesheet', elementBounds, shapeBounds, 'px');
- createRectangleTest('list', 'stylesheet', elementBounds, shapeBounds, 'px');
- createRectangleTest('table', 'stylesheet', elementBounds, shapeBounds, 'px');
- createRectangleTest('old-flexbox', 'stylesheet', elementBounds, shapeBounds, 'px');
- createRectangleTest('new-flexbox', 'stylesheet', elementBounds, shapeBounds, 'px');
-}
-</script>
-</head>
-<body>
-<p>This set of tests ensures that basic recursive layouts with inline-block elements
-function correctly with shape-inside. They require the Ahem font, and should each display
-a green square within a blue border.</p>
-
-<p>Inline-block div</p>
-<div id='inline-block'>
- <div class='content'>xxxx</div>
-</div>
-
-<p>Floating div</p>
-<div id='float'>
- <div class='content'>xxxx</div>
-</div>
-
-<p>Inline list</p>
-<div id='list'>
- <ul class='content'>
- <li>xx</li>
- <li>xx</li>
- </ul>
-</div>
-
-<p>Inline table</p>
-<div id='table'>
- <table class='content'>
- <tr><td>x</td><td>x</td></tr>
- <tr><td>x</td><td>x</td></tr>
- </table>
-</div>
-
-<p>Old flexbox</p>
-<div id='old-flexbox'>
- <div class='content'>xxxx</div>
-</div>
-
-<p>New flexbox</p>
-<div id='new-flexbox'>
- <div class='content'>xxxx</div>
-</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698