New issue
Advanced search Search tips

Issue 692874 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

toggle text-indent make box grow bigger

Reported by kix...@gmail.com, Feb 16 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3013.0 Safari/537.36

Steps to reproduce the problem:
I have written a case on jsfiddle.

https://jsfiddle.net/arzyu/6yrqbd76/

====================================
<style>
.container {
	display: inline-block;
}
#test {
	padding-right: 100%;
	background: #def;
}
.indent {
	text-indent: -100%;
}
</style>

<div class="container">
	<div id="test" class="indent">#test</div>
</div>
====================================

When I toggle class `indent`, the `#test` box grows bigger.

What is the expected behavior?

What went wrong?
This didn't happen on safari.  Maybe a problem of Blink.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 58.0.3013.0  Channel: canary
OS Version: OS X 10.12.3
Flash Version: Shockwave Flash 24.0 r0

 

Comment 1 by meade@chromium.org, Feb 16 2017

Components: -Blink>CSS Blink>Layout
Labels: Hotlist-Interop
Owner: e...@chromium.org
Status: Untriaged (was: Unconfirmed)
I suspect this has a similar root cause as 385904, eae@ could you please take a look and dupe if it is?

Comment 2 by kix...@gmail.com, Feb 16 2017

Maybe it's a different layout problem, This is produced only in chrome. #385904 can reproduce in safari.

Comment 3 by e...@chromium.org, Feb 17 2017

Cc: kojii@chromium.org e...@chromium.org
Owner: ----
Status: Available (was: Untriaged)
Project Member

Comment 4 by sheriffbot@chromium.org, Feb 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by kojii@chromium.org, Feb 22 2018

Labels: -Pri-2 -Hotlist-Recharge-Cold Pri-3
Status: Available (was: Untriaged)

Sign in to add a comment