-
commit-queue@webkit.org authored
[CSSRegions]Region overset property is incorectly computed when content has negative letter spacing and is flowed near to the edge of a region https://bugs.webkit.org/show_bug.cgi?id=92506 Patch by Andrei Onea <onea@adobe.com> on 2012-08-14 Reviewed by Eric Seidel. Source/WebCore: When the content which is flowed inside a region creates visual overflow in the writing direction, the overflow rect is also extended in the other direction, and that forces regionOverset to become "fit" for all regions. Tests: fast/regions/element-region-overset-state-negative-letter-spacing.html fast/regions/element-region-overset-state-vertical-rl-negative-letter-spacing.html * rendering/RenderFlowThread.cpp: (WebCore::RenderFlowThread::computeOverflowStateForRegions): LayoutTests: Added tests for incorrect regionOverset computation when visual overflow in the writing direction creates overset for all regions. * fast/regions/element-region-overset-state-negative-letter-spacing-expected.txt: Added. * fast/regions/element-region-overset-state-negative-letter-spacing.html: Added. * fast/regions/element-region-overset-state-vertical-rl-negative-letter-spacing-expected.txt: Added. * fast/regions/element-region-overset-state-vertical-rl-negative-letter-spacing.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d85715a6