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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape.html

Issue 131133004: [CSS Shapes] Dynamically created element with image valued shape-outside doesn't update (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed unnecessary frameView() check Created 6 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape.html
new file mode 100644
index 0000000000000000000000000000000000000000..d8e721398075f473d66dba124e2da65de6525ce2
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape.html
@@ -0,0 +1,31 @@
+<html>
+<head>
+<style>
+.container {
+ font: 50px/1 Ahem, sans-serif;
+ color: green;
+}
+
+.shape-outside {
+ width: 100px;
+ height: 100px;
+ float: left;
+ shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px'><rect x='0' y='50' width='49' height='49' fill='blue'/></svg>");
+}
+</style>
+<script>
+window.onload = function() {
+ var container = document.querySelector('.container');
+ var shape = document.createElement('div');
+ shape.className = 'shape-outside';
+ container.insertBefore(shape, container.firstChild);
+}
+</script>
+</head>
+<body>
+<div class='container'>
+<p>X<br>X<br>X</p>
+</div>
+</body>
+</html>
+
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698