Commit 718a8ecd authored by adele's avatar adele

LayoutTests:

        Reviewed by Tim Hatcher.

        * fast/forms/input-appearance-default-bkcolor-expected.checksum: Added.
        * fast/forms/input-appearance-default-bkcolor-expected.png: Added.
        * fast/forms/input-appearance-default-bkcolor-expected.txt: Added.
        * fast/forms/input-appearance-default-bkcolor.html: Added.

WebCore:

        Reviewed by Tim H.

        Make default backgrounds for new text fields white
        instead of transparent.  This will move to html4.css
        when we flip the switch.

        Test added:
        * fast/forms/input-appearance-default-bkcolor.html

        * rendering/render_theme_mac.mm:
        (WebCore::RenderThemeMac::adjustTextFieldStyle):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d8f21d5e
2006-03-17 Adele Peterson <adele@apple.com>
Reviewed by Tim Hatcher.
* fast/forms/input-appearance-default-bkcolor-expected.checksum: Added.
* fast/forms/input-appearance-default-bkcolor-expected.png: Added.
* fast/forms/input-appearance-default-bkcolor-expected.txt: Added.
* fast/forms/input-appearance-default-bkcolor.html: Added.
2006-03-17 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Maciej, landed by Beth.
......
f683df93edddcab5ec30cf82abb8f7a6
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#800080]
RenderText {TEXT} at (0,0) size 473x18
text run at (0,0) width 473: "This tests that the default background color for the new text fields is white. "
RenderBR {BR} at (0,0) size 0x0
RenderTextField {INPUT} at (2,20) size 146x19 [bgcolor=#FFFFFF]
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
layer at (13,31) size 140x13
RenderBlock {DIV} at (3,3) size 140x13
RenderText {TEXT} at (0,0) size 116x13
text run at (0,0) width 116: "This should be white."
<html>
<body style="background-color: purple;">
This tests that the default background color for the new text fields is white.
<br><input style=" -khtml-appearance: textfield;" type="text" value="This should be white.">
</body>
</html>
\ No newline at end of file
2006-03-17 Adele Peterson <adele@apple.com>
Reviewed by Tim H.
Make default backgrounds for new text fields white
instead of transparent. This will move to html4.css
when we flip the switch.
Test added:
* fast/forms/input-appearance-default-bkcolor.html
* rendering/render_theme_mac.mm:
(WebCore::RenderThemeMac::adjustTextFieldStyle):
2006-03-17 David Hyatt <hyatt@apple.com>
Make table sections and table captions support opacity.
......@@ -552,6 +552,9 @@ void RenderThemeMac::adjustTextFieldStyle(CSSStyleSelector* selector, RenderStyl
style->setMarginBottom(Length(2, Fixed));
style->setMarginLeft(Length(2, Fixed));
style->setMarginRight(Length(2, Fixed));
if (!style->hasBackground())
style->setBackgroundColor(Color(Color::white));
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment