Closed Bug 1086211 Opened 10 years ago Closed 10 years ago

The italic content of a container doesn't overflow when it is floating

Categories

(Core :: Layout: Floats, defect)

33 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: gmarty, Unassigned)

Details

When a container has overflow hidden and float, its italic content doesn't overflow and depending on the characters used can be cropped (mainly in CJK or languages from India).
Here is a test case:
http://jsbin.com/muhala/
See how the Japanese word overflows or not on the red background.

I compared to other rendering engines and got 3 different behaviours:
* Gecko: only the container with float doesn't overflow
* Chrome: all the containers overflow
* IE8: none of the containers overflow (and sorry I don't have a more up to date IE at hand)

Given the tests above it is still unclear what is the expected behaviour here.
Per spec the "overflow" property only applies to block containers.  Which means in the provided testcase only the floats have an "overflow:hidden" applying to them (from the .italic style).  Which is the behavior you see in Gecko.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.