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

Unified Diff: third_party/WebKit/LayoutTests/svg/foreignObject/vertical-foreignObject.html

Issue 2510313004: Use LayoutBox::frameRect() as the viewport of LayoutSVGForeignObject (Closed)
Patch Set: crbug.com/667071 Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/svg/foreignObject/vertical-foreignObject.html
diff --git a/third_party/WebKit/LayoutTests/svg/foreignObject/vertical-foreignObject.html b/third_party/WebKit/LayoutTests/svg/foreignObject/vertical-foreignObject.html
new file mode 100644
index 0000000000000000000000000000000000000000..4dba47ad3defbc7449565dc15309e4388983eac4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/foreignObject/vertical-foreignObject.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<svg width="200" height="200">
+ <rect x="100" y="50" width="20" height="100" fill="red"/>
+ <foreignObject x="100" y="50" width="20" height="100"
+ style="overflow: hidden; writing-mode: vertical-rl">
+ <div style="background: green; width: 100%; height: 100%"></div>
+ <div style="background: red">Should not show this</div>
+ </foreignObject>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698