Skip to content
Permalink
Browse files
[BlackBerry] update form theme for BB10.
https://bugs.webkit.org/show_bug.cgi?id=100760

Patch by Tiancheng Jiang <tijiang@rim.com> on 2012-10-30
Reviewed by Rob Buis.

RIM PR:222126
Introduce slide function to paint new theme for the form controls.

No new tests.

* css/themeBlackBerry.css:
(select):
* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore):
(WebCore::drawControl): Added.
(WebCore::drawThreeSlice): Added.
(WebCore::drawNineSlice): Added.
(WebCore::loadImage): Added.
(WebCore::RenderThemeBlackBerry::systemFont): Modified.
(WebCore::RenderThemeBlackBerry::paintTextFieldOrTextAreaOrSearchField): Modified.
(WebCore::RenderThemeBlackBerry::paintCheckbox): Modified.
(WebCore::RenderThemeBlackBerry::paintRadio): Modified.
(WebCore::RenderThemeBlackBerry::paintButton): Modified.
(WebCore::RenderThemeBlackBerry::paintMenuList): Modified.
(WebCore::RenderThemeBlackBerry::paintMenuListButton): Modified.
(WebCore::RenderThemeBlackBerry::paintSliderTrackRect): Modified.
(WebCore::RenderThemeBlackBerry::paintSliderThumb): Modified.
* platform/blackberry/RenderThemeBlackBerry.h:
(RenderThemeBlackBerry):

Canonical link: https://commits.webkit.org/118846@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@132967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Tiancheng Jiang authored and webkit-commit-queue committed Oct 31, 2012
1 parent 792b771 commit 6ad9c292c8613913a376a46f21231cd5ae8565e6
Showing 4 changed files with 316 additions and 298 deletions.
@@ -1,3 +1,35 @@
2012-10-30 Tiancheng Jiang <tijiang@rim.com>

[BlackBerry] update form theme for BB10.
https://bugs.webkit.org/show_bug.cgi?id=100760

Reviewed by Rob Buis.

RIM PR:222126
Introduce slide function to paint new theme for the form controls.

No new tests.

* css/themeBlackBerry.css:
(select):
* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore):
(WebCore::drawControl): Added.
(WebCore::drawThreeSlice): Added.
(WebCore::drawNineSlice): Added.
(WebCore::loadImage): Added.
(WebCore::RenderThemeBlackBerry::systemFont): Modified.
(WebCore::RenderThemeBlackBerry::paintTextFieldOrTextAreaOrSearchField): Modified.
(WebCore::RenderThemeBlackBerry::paintCheckbox): Modified.
(WebCore::RenderThemeBlackBerry::paintRadio): Modified.
(WebCore::RenderThemeBlackBerry::paintButton): Modified.
(WebCore::RenderThemeBlackBerry::paintMenuList): Modified.
(WebCore::RenderThemeBlackBerry::paintMenuListButton): Modified.
(WebCore::RenderThemeBlackBerry::paintSliderTrackRect): Modified.
(WebCore::RenderThemeBlackBerry::paintSliderThumb): Modified.
* platform/blackberry/RenderThemeBlackBerry.h:
(RenderThemeBlackBerry):

2012-10-30 Rick Byers <rbyers@chromium.org>

cssText for cursor property doesn't include hotspot
@@ -20,10 +20,6 @@ textarea {
font-family: monospace;
}

input, textarea {
border-radius: 3px;
}

input[type="datetime"],
input[type="date"],
input[type="week"],
@@ -35,22 +31,6 @@ input[type="color"] {
border: solid 2px blue;
}

select:focus {
border: 1px solid black;
outline: none;
}

select[size],
select[multiple],
select[size][multiple] {
padding: 5px;
border-radius: 5px;
border: 1px solid rgb(139,139,139);
}

select[size]:focus,
select[multiple]:focus,
select[size][multiple]:focus {
border: 1px solid black;
outline: none;
select {
border-radius: 0;
}

0 comments on commit 6ad9c29

Please sign in to comment.