r5403 tlsa - in /trunk/netsurftest/works: float-clear-first.html float-clear-first2.html

netsurf at semichrome.net netsurf at semichrome.net
Tue Sep 23 00:49:25 BST 2008


Author: tlsa
Date: Mon Sep 22 18:49:25 2008
New Revision: 5403

URL: http://source.netsurf-browser.org?rev=5403&view=rev
Log:
Test cases for clear usage on first float.

Added:
    trunk/netsurftest/works/float-clear-first.html   (with props)
    trunk/netsurftest/works/float-clear-first2.html   (with props)

Added: trunk/netsurftest/works/float-clear-first.html
URL: http://source.netsurf-browser.org/trunk/netsurftest/works/float-clear-first.html?rev=5403&view=auto
==============================================================================
--- trunk/netsurftest/works/float-clear-first.html (added)
+++ trunk/netsurftest/works/float-clear-first.html Mon Sep 22 18:49:25 2008
@@ -1,0 +1,15 @@
+<html>
+<head>
+<style>
+div {width:4em; height:4em;}
+</style>
+</head>
+
+<body>
+
+
+<div style="background:red;   float:left; clear:left;"></div>
+<div style="background:green; float:left;"></div>
+<div style="background:blue;  float:left;"></div>
+
+<p style="clear:both;">Should be three equal sized boxes above. Left to right: red, green, blue.</p>

Propchange: trunk/netsurftest/works/float-clear-first.html
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/netsurftest/works/float-clear-first2.html
URL: http://source.netsurf-browser.org/trunk/netsurftest/works/float-clear-first2.html?rev=5403&view=auto
==============================================================================
--- trunk/netsurftest/works/float-clear-first2.html (added)
+++ trunk/netsurftest/works/float-clear-first2.html Mon Sep 22 18:49:25 2008
@@ -1,0 +1,13 @@
+<html>
+<head>
+<style>
+div {width:4em; height:4em;}
+</style>
+</head>
+
+<body>
+
+
+<div style="background:red; float:left; clear:left;"></div>moose
+
+<p style="clear:both;">Above, there should be a red box with the word &quot;moose&quot; to the right of it.</p>

Propchange: trunk/netsurftest/works/float-clear-first2.html
------------------------------------------------------------------------------
    svn:executable = *




More information about the netsurf-commits mailing list