Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float block is positioned incorrectly within block with text #16737

Closed
ocerman opened this issue May 5, 2017 · 1 comment
Closed

Float block is positioned incorrectly within block with text #16737

ocerman opened this issue May 5, 2017 · 1 comment

Comments

@ocerman
Copy link

@ocerman ocerman commented May 5, 2017

When you remove text from parent div, then it is working correctly.

float

<html>
	<body>
		<div style="padding: 10px; background: darkblue; color: white; height: 16px;">
			Servo
			<div style="width: 16px; height: 16px; background: red; float: right;"></div>
		</div>
	</body>
</html>
@stshine
Copy link
Contributor

@stshine stshine commented May 5, 2017

This is #13683, and we track this bug there.

Thanks.

@stshine stshine closed this May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.