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

Unified Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash.html

Issue 115253003: Layout support for new circle shape syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use FloatSize/FloatPoint's more Created 6 years, 11 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-calc-crash.html
diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash.html
index 6ad6f8981b2a975060a1d962cf976643fc7cfaf6..1a1e98fea796dd2ed6d48a69b8c32b0b8e8dd208 100644
--- a/LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash.html
+++ b/LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash.html
@@ -7,12 +7,12 @@ This is a regression test for https://bugs.webkit.org/show_bug.cgi?id=121020
<script src="../../../resources/js-test.js"></script>
<script>
window.onload = function() {
- shouldBe("window.getComputedStyle(document.getElementById('shape-inside'))['shape-inside']", "'circle(30%, 50%, 50%)'");
+ shouldBe("window.getComputedStyle(document.getElementById('shape-inside'))['shape-inside']", "'circle(50% at 30% 50%)'");
};
</script>
<style>
#shape-inside {
- shape-inside: circle(calc(50% - 20%), 50%, 50%);
+ shape-inside: circle(50% at calc(50% - 20%) 50%);
}
</style>
<body>

Powered by Google App Engine
This is Rietveld 408576698