Changeset 109612 in webkit
- Timestamp:
- Mar 2, 2012 1:59:06 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r109610 r109612 1 2012-03-02 SravanKumar Sandela <ssandela@innominds.com> 2 3 Layout issue with fieldset legend element 4 https://bugs.webkit.org/show_bug.cgi?id=78684 5 6 Reviewed by Dirk Pranke. 7 8 * fast/forms/fieldset-legend-padding-unclipped-fieldset-border.html: Added. 9 10 Test case to check un-clipped border logic 11 12 * platform/chromium/test_expectations.txt: 13 * platform/win/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.png: Added. 14 * platform/win/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt: Added. 15 1 16 2012-03-02 Igor Oliveira <igor.o@sisa.samsung.com> 2 17 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r109604 r109612 4340 4340 BUGCR83325 MAC DEBUG : platform/chromium/virtual/gpu/canvas/philip/tests/2d.imageData.put.created.html = PASS CRASH 4341 4341 BUGWK66908 : platform/chromium/virtual/gpu/canvas/philip/tests/2d.text.draw.fontface.notinpage.html = PASS TEXT 4342 4343 //NEED REBASELINING 4344 BUGWK78684 : fast/block/basic/fieldset-stretch-to-legend.html = FAIL 4345 BUGWK78684 : fast/borders/fieldsetBorderRadius.html = FAIL 4346 BUGWK78684 : fast/forms/fieldset-legend-padding-unclipped-fieldset-border.html = IMAGE IMAGE+TEXT -
trunk/Source/WebCore/ChangeLog
r109611 r109612 1 2012-03-02 SravanKumar Sandela <ssandela@innominds.com> 2 3 Layout issue with fieldset legend element 4 https://bugs.webkit.org/show_bug.cgi?id=78684 5 6 Reviewed by Dirk Pranke. 7 8 The clipping logic for legend element was incorrect and now it has been corrected by taking correct offset in to consideration. 9 10 Test: fast/forms/fieldset-legend-padding-unclipped-fieldset-border.html 11 12 * rendering/RenderFieldset.cpp: 13 (WebCore::RenderFieldset::paintBoxDecorations): 14 1 15 2012-03-02 Erik Arvidsson <arv@chromium.org> 2 16 -
trunk/Source/WebCore/rendering/RenderFieldset.cpp
r107880 r109612 159 159 if (style()->isHorizontalWritingMode()) { 160 160 LayoutUnit clipTop = paintRect.y(); 161 LayoutUnit clipHeight = max(static_cast<LayoutUnit>(style()->borderTopWidth()), legend->height() );161 LayoutUnit clipHeight = max(static_cast<LayoutUnit>(style()->borderTopWidth()), legend->height() - ((legend->height() - borderTop()) / 2)); 162 162 graphicsContext->clipOut(LayoutRect(paintRect.x() + legend->x(), clipTop, legend->width(), clipHeight)); 163 163 } else {
Note: See TracChangeset
for help on using the changeset viewer.