Bug 150542 - [Testcase] Wrong rendering of some simple CSS positioned text
Summary: [Testcase] Wrong rendering of some simple CSS positioned text
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: 3.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-06 17:27 UTC by Albert Astals Cid
Modified: 2008-04-22 09:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the html code for faster testing (562 bytes, text/html)
2007-10-06 17:27 UTC, Albert Astals Cid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Astals Cid 2007-10-06 17:27:12 UTC
Version:           3.5.7 (using KDE 3.5.7, Kubuntu (gutsy) 4:3.5.7-1ubuntu15)
Compiler:          Target: x86_64-linux-gnu
OS:                Linux (x86_64) release 2.6.22-12-generic

Not sure if it's a bug, but seems to me.

The following html positions the text at left in KHTML from CVS while it positions at right on Firefox 2.0.0.7, Internet Explorer 7. 

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<style type="text/css">
			#presentation { float:left; }
			#presentation blockquote { float:right; }
		</style>
	</head>
	<body>
		<div id="presentation">
			<blockquote>
				Simplicity carried to the extreme becomes elegance
			</blockquote>
		</div>
	</body>
</html>
Comment 1 Albert Astals Cid 2007-10-06 17:27:53 UTC
Created attachment 21763 [details]
the html code for faster testing
Comment 2 Allan Sandfeld 2007-10-06 17:36:31 UTC
Seems to me we are doing the right thing, but it could be specified in a corner case. In any case we need to act the same as other browsers.
Comment 3 Linus Östberg 2008-04-21 10:59:04 UTC
Confirmed in Konqueror 3.5.9 and trunk r798735.
Comment 4 Germain Garand 2008-04-22 09:58:47 UTC
Our rendering is correct.

9.5.1 - right outer edge of a right-floating box may not be to the right of the right edge of its containing block.

Any browser passing Acid2 will get that right.