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

Unified Diff: third_party/WebKit/LayoutTests/fast/inline/percentage-margins-shrink-to-fit-expected.html

Issue 2802413002: Don't let current width affect preferred width on shrink-to-fit containers (Closed)
Patch Set: bug 598711 Created 3 years, 8 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: third_party/WebKit/LayoutTests/fast/inline/percentage-margins-shrink-to-fit-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/inline/percentage-margins-shrink-to-fit-expected.html b/third_party/WebKit/LayoutTests/fast/inline/percentage-margins-shrink-to-fit-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..7a0b80abf752e89618b7e05ed14b6ea8b6162b4d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/inline/percentage-margins-shrink-to-fit-expected.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+ .container {
+ float: right;
+ }
+ .inline {
+ margin-left: 50%;
+ outline: 1px solid red;
+ }
+</style>
+<p>crbug.com/598711: Compute percent margin on inlines inside shrink-to-fit containers.</p>
+<div class="container">
+ <span id="span" class="inline">Text</span>
+</div>
+
+

Powered by Google App Engine
This is Rietveld 408576698