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

Unified Diff: third_party/WebKit/LayoutTests/css2.1/20110323/list-style-position-005.htm

Issue 2328623003: Fix incorrectly positioned block element inside list-style-position:inside item (Closed)
Patch Set: update aria-owns-expected-mac.txt Created 4 years, 3 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/css2.1/20110323/list-style-position-005.htm
diff --git a/third_party/WebKit/LayoutTests/css2.1/20110323/list-style-position-005.htm b/third_party/WebKit/LayoutTests/css2.1/20110323/list-style-position-005.htm
new file mode 100644
index 0000000000000000000000000000000000000000..0e4a9aaba15106ef747d6be53a90ba4c35595b49
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css2.1/20110323/list-style-position-005.htm
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>CSS Test: Marker box position (inside principal box) - block box in normal flow (as child of principal box)</title>
+ <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite">
+ <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style">
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">
+ <meta name="flags" content="">
+ <meta name="assert" content="Since a marker box is the first inline element in the principal box when 'list-style-position:inside', the following block box (in normal flow) must create a new stacking context below the marker box">
+ <style type="text/css">
+ #test{
+ background:lime;
+ color:lime;
+ display:list-item;
+ font-size:85px;
+ list-style-position:inside;
+ }
+ #test div{
+ background:blue;
+ display:block;
+ }
+ </style>
+ </head>
+
+ <body>
+ <p>To pass, there <strong>must</strong> be a green bar stacked on top of a blue bar.</p>
+ <div id="test">
+ <div>&nbsp;</div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698