These are ready for review. I need to rebaseline some tests, but I've confirmed that the new output is correct. Will send a new patch with test rebaselines soon. The first patch with the LayoutTest was baselined with a clean tree so that it will be clear what's changing from the second patch.
Comment on attachment 28376[details]
Put the padding inside scrollbars on textareas.
Obsoleted by new patch which fixes build error from syncing to trunk.
Comment on attachment 28378[details]
LayoutTest rebaselines after moving padding inside scrollbars on textareas.
New patch that syncs to trunk obsoletes this one.
Comment on attachment 28604[details]
Add new textarea tests.
Sigh. Of course git-send-bugzilla patch files don't include the actual data, so I can't really land this.
Comment on attachment 28607[details]
new textarea tests made with git format-patch so eseidel can land them.
Committing to http://svn.webkit.org/repository/webkit/trunk ...
M LayoutTests/ChangeLog
A LayoutTests/fast/forms/basic-textareas.html
A LayoutTests/fast/forms/linebox-overflow-in-textarea-padding.html
A LayoutTests/platform/mac/fast/forms/basic-textareas-expected.checksum
A LayoutTests/platform/mac/fast/forms/basic-textareas-expected.png
A LayoutTests/platform/mac/fast/forms/basic-textareas-expected.txt
A LayoutTests/platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.checksum
A LayoutTests/platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.png
A LayoutTests/platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.txt
Committed r41690
Both adele and eric asked for a more descriptive changelog:
Put the padding inside the scrollbars on textareas. This is done by moving the overflow from the shadowNode to the RenderTextControlMultiline. As a result, all of the scroll handing methods that RenderTextControl overrides can be moved down into RenderTextControlSingleLine since RenderTextControlMultiline can now just use RenderBlock's versions. This also allows RenderTextControlMultiLine to no longer need a custom layout method since the shadowNode can now just size like a regular DIV.
Almost all of the test rebaselines are just the textarea moving into the layer now that the overflow is on the textarea instead of it's shadowNode. There area a couple pixel test rebaselines where the scrollbars move and text wraps differently now that the padding is inside the scrollbars.
Committing to http://svn.webkit.org/repository/webkit/trunk ...
M LayoutTests/ChangeLog
M LayoutTests/platform/mac/editing/inserting/4960120-1-expected.txt
M LayoutTests/platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.txt
M LayoutTests/platform/mac/editing/pasteboard/pasting-tabs-expected.txt
M LayoutTests/platform/mac/fast/block/margin-collapse/103-expected.txt
M LayoutTests/platform/mac/fast/css/resize-corner-tracking-expected.txt
M LayoutTests/platform/mac/fast/dom/HTMLTextAreaElement/reset-textarea-expected.txt
M LayoutTests/platform/mac/fast/dynamic/008-expected.txt
M LayoutTests/platform/mac/fast/forms/basic-textareas-expected.checksum
M LayoutTests/platform/mac/fast/forms/basic-textareas-expected.png
M LayoutTests/platform/mac/fast/forms/basic-textareas-expected.txt
A LayoutTests/platform/mac/fast/forms/basic-textareas-quirks-expected.checksum
A LayoutTests/platform/mac/fast/forms/basic-textareas-quirks-expected.png
A LayoutTests/platform/mac/fast/forms/basic-textareas-quirks-expected.txt
M LayoutTests/platform/mac/fast/forms/form-element-geometry-expected.txt
M LayoutTests/platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.checksum
M LayoutTests/platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.png
M LayoutTests/platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.txt
M LayoutTests/platform/mac/fast/forms/negativeLineHeight-expected.txt
M LayoutTests/platform/mac/fast/forms/textAreaLineHeight-expected.txt
M LayoutTests/platform/mac/fast/forms/textarea-align-expected.txt
M LayoutTests/platform/mac/fast/forms/textarea-rows-cols-expected.txt
M LayoutTests/platform/mac/fast/forms/textarea-scroll-height-expected.txt
M LayoutTests/platform/mac/fast/forms/textarea-scrollbar-expected.txt
M LayoutTests/platform/mac/fast/forms/textarea-scrolled-type-expected.txt
M LayoutTests/platform/mac/fast/forms/textarea-setinnerhtml-expected.txt
M LayoutTests/platform/mac/fast/forms/textarea-width-expected.txt
M LayoutTests/platform/mac/fast/overflow/overflow-x-y-expected.txt
M LayoutTests/platform/mac/fast/parser/comment-in-textarea-expected.txt
M LayoutTests/platform/mac/fast/parser/entity-comment-in-textarea-expected.txt
M LayoutTests/platform/mac/fast/parser/open-comment-in-textarea-expected.txt
M LayoutTests/platform/mac/fast/replaced/width100percent-textarea-expected.txt
M LayoutTests/platform/mac/fast/table/003-expected.txt
M LayoutTests/platform/mac/fast/text/international/rtl-white-space-pre-wrap-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/anchor-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/anchor-frames-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/anchor-goback-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/anchor-subframeload-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/javascriptlink-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/javascriptlink-frames-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/javascriptlink-goback-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/javascriptlink-subframeload-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/metaredirect-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/metaredirect-frames-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/metaredirect-goback-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/metaredirect-subframeload-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/post-goback2-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/postredirect-goback2-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/redirect302-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/redirect302-frames-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/redirect302-goback-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/redirect302-subframeload-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/relativeanchor-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/relativeanchor-frames-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/relativeanchor-goback-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/slowmetaredirect-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/slowtimerredirect-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/success200-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/success200-frames-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/success200-frames-loadsame-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/success200-goback-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/success200-loadsame-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/success200-reload-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/success200-subframeload-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/timerredirect-basic-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/timerredirect-frames-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/timerredirect-goback-expected.txt
M LayoutTests/platform/mac/http/tests/navigation/timerredirect-subframeload-expected.txt
M LayoutTests/platform/mac/tables/mozilla/bugs/bug194024-expected.txt
M LayoutTests/platform/mac/tables/mozilla/bugs/bug30559-expected.txt
M LayoutTests/platform/mac/tables/mozilla/bugs/bug30692-expected.txt
M WebCore/ChangeLog
M WebCore/css/CSSStyleSelector.cpp
M WebCore/rendering/RenderTextControl.cpp
M WebCore/rendering/RenderTextControl.h
M WebCore/rendering/RenderTextControlMultiLine.cpp
M WebCore/rendering/RenderTextControlMultiLine.h
M WebCore/rendering/RenderTextControlSingleLine.cpp
M WebCore/rendering/RenderTextControlSingleLine.h
M WebCore/rendering/TextControlInnerElements.cpp
Committed r41792
2009-03-06 16:35 PST, Ojan Vafai
2009-03-06 16:35 PST, Ojan Vafai
2009-03-06 16:57 PST, Ojan Vafai
2009-03-10 12:26 PDT, Ojan Vafai
2009-03-12 16:43 PDT, Ojan Vafai
2009-03-12 16:43 PDT, Ojan Vafai
2009-03-13 14:19 PDT, Ojan Vafai
2009-03-13 15:12 PDT, Ojan Vafai
2009-03-13 15:35 PDT, Ojan Vafai
2009-03-13 16:33 PDT, Ojan Vafai
2009-03-13 16:34 PDT, Ojan Vafai
2009-03-16 17:00 PDT, Ojan Vafai
2009-03-16 17:02 PDT, Ojan Vafai
2009-03-17 15:29 PDT, Ojan Vafai
2009-03-17 15:30 PDT, Ojan Vafai