diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 21:27:21 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 21:27:21 +0000 |
commit | 03ac7747b8185a508ad89ff87f64c4e3b1c5a8d3 (patch) | |
tree | 2aa44093007195db1a330edf2079ddbe176bfe43 | |
parent | e40f5a0b82006e487aada4559c2704dc1211f041 (diff) | |
download | chromium_src-03ac7747b8185a508ad89ff87f64c4e3b1c5a8d3.zip chromium_src-03ac7747b8185a508ad89ff87f64c4e3b1c5a8d3.tar.gz chromium_src-03ac7747b8185a508ad89ff87f64c4e3b1c5a8d3.tar.bz2 |
Remove CSS vendor prefixes where not needed.
The following css properties where updated.
-webkit-background-size
-webkit-box-sizing
-webkit-border-radius
-webkit-border-top-left-radius
-webkit-border-top-right-radius
-webkit-border-bottom-left-radius
-webkit-border-bottom-right-radius
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/5672001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68637 0039d316-1c4b-4281-b951-d872f2087c98
30 files changed, 44 insertions, 46 deletions
diff --git a/chrome/browser/resources/about_conflicts.html b/chrome/browser/resources/about_conflicts.html index b9cd36e..301fb49 100644 --- a/chrome/browser/resources/about_conflicts.html +++ b/chrome/browser/resources/about_conflicts.html @@ -22,7 +22,7 @@ div#header { -webkit-padding-start: 0; padding-top: 20px; position: relative; - -webkit-box-sizing: border-box; + box-sizing: border-box; } #header h1 { diff --git a/chrome/browser/resources/bookmark_manager/css/bmm.css b/chrome/browser/resources/bookmark_manager/css/bmm.css index d117e8a..40e7951 100644 --- a/chrome/browser/resources/bookmark_manager/css/bmm.css +++ b/chrome/browser/resources/bookmark_manager/css/bmm.css @@ -26,7 +26,7 @@ list > * { } list > * > * { - -webkit-box-sizing: border-box; + box-sizing: border-box; -webkit-padding-start: 20px; background: 0 50% no-repeat; overflow: hidden; @@ -183,7 +183,7 @@ html[os=mac] .tree-row[selected] > .tree-label { min-width: 50px; max-width: 50%; overflow: auto; - -webkit-box-sizing: border-box; + box-sizing: border-box; padding: 5px; -webkit-padding-start: 10px; } @@ -196,7 +196,7 @@ html[os=mac] .tree-row[selected] > .tree-label { #list { -webkit-box-flex: 1; - -webkit-box-sizing: border-box; + box-sizing: border-box; padding: 5px; } @@ -243,7 +243,7 @@ html[dir=rtl] .header form { pointer-events: none; border: 1px solid hsl(214, 91%, 85%);; border-radius: 3px; - -webkit-box-sizing: border-box; + box-sizing: border-box; background-color: hsla(214, 91%, 85%, .5); overflow: hidden; z-index: -1; diff --git a/chrome/browser/resources/bug_report.css b/chrome/browser/resources/bug_report.css index 07210b0..bbccf26 100644 --- a/chrome/browser/resources/bug_report.css +++ b/chrome/browser/resources/bug_report.css @@ -52,14 +52,14 @@ hr { .image-thumbnail-container { display: inline-block; border: 2px solid white; - -webkit-border-radius: 3px; + border-radius: 3px; z-index: 0; } .image-thumbnail-container-selected { display: inline-block; border: 2px solid green; - -webkit-border-radius: 3px; + border-radius: 3px; z-index: 0; } diff --git a/chrome/browser/resources/extensions_ui.html b/chrome/browser/resources/extensions_ui.html index 70b2605..586b168 100644 --- a/chrome/browser/resources/extensions_ui.html +++ b/chrome/browser/resources/extensions_ui.html @@ -23,7 +23,7 @@ div#header { -webkit-padding-start: 0; padding-top: 20px; position: relative; - -webkit-box-sizing: border-box; + box-sizing: border-box; } #header h1 { diff --git a/chrome/browser/resources/filebrowse.html b/chrome/browser/resources/filebrowse.html index d9c5719..614dc9a 100644 --- a/chrome/browser/resources/filebrowse.html +++ b/chrome/browser/resources/filebrowse.html @@ -14,7 +14,6 @@ div.header { top: 0; height: 32px; position: absolute; - -webkit-box-sizing: border-box; box-sizing: border-box; background-image: -webkit-gradient(linear, left top, diff --git a/chrome/browser/resources/flags.html b/chrome/browser/resources/flags.html index 106d4a5..5090084 100644 --- a/chrome/browser/resources/flags.html +++ b/chrome/browser/resources/flags.html @@ -22,7 +22,7 @@ div#header { padding-left: 0; padding-top: 20px; position: relative; - -webkit-box-sizing: border-box; + box-sizing: border-box; } html[dir=rtl] #header { diff --git a/chrome/browser/resources/history.html b/chrome/browser/resources/history.html index 8bc5501..851601f 100644 --- a/chrome/browser/resources/history.html +++ b/chrome/browser/resources/history.html @@ -1142,7 +1142,7 @@ html[dir='rtl'] .time { height:11px; } .entry .title > a { - -webkit-box-sizing: border-box; + box-sizing: border-box; background-repeat:no-repeat; background-size:16px; background-position:0px 1px; diff --git a/chrome/browser/resources/keyboard_overlay.css b/chrome/browser/resources/keyboard_overlay.css index 880cbd7..2827254 100644 --- a/chrome/browser/resources/keyboard_overlay.css +++ b/chrome/browser/resources/keyboard_overlay.css @@ -6,14 +6,14 @@ body { } .keyboard-overlay-keyboard { - -webkit-border-radius: 6px; + border-radius: 6px; background: -webkit-gradient(linear, left top, left bottom, from(#484848), to(#252525)) no-repeat; font-family: 'Droid Sans', Arial; } .keyboard-overlay-instructions { - -webkit-border-radius: 5px; + border-radius: 5px; background: -webkit-gradient(linear, left top, left bottom, from(#334c7e), to(#0d172b)); border: 2px solid #576ccf; @@ -32,7 +32,7 @@ body { } .keyboard-overlay-key { - -webkit-border-radius: 4px; + border-radius: 4px; -webkit-box-orient: vertical; background-color: rgba(24, 24, 24, 0.9); border: 2px solid #7f7f7f; diff --git a/chrome/browser/resources/mediaplayer.html b/chrome/browser/resources/mediaplayer.html index f3aae4c..effa78b 100644 --- a/chrome/browser/resources/mediaplayer.html +++ b/chrome/browser/resources/mediaplayer.html @@ -74,7 +74,7 @@ body { right: 120px; height: 5px; position: absolute; - -webkit-border-radius: 3px; + border-radius: 3px; background: -webkit-gradient(linear, left top, left bottom, @@ -88,7 +88,7 @@ body { width:0; left: -1px; top: -1px; - -webkit-border-radius: 3px; + border-radius: 3px; border: 1px solid #9ca5b7; position: absolute; background: -webkit-gradient(linear, @@ -103,7 +103,7 @@ body { width:0; left: -1px; top: -1px; - -webkit-border-radius: 3px; + border-radius: 3px; position: absolute; background: #6a799a; border: 1px solid #ffffff; diff --git a/chrome/browser/resources/net_internals/main.css b/chrome/browser/resources/net_internals/main.css index 7861a35..1494d21 100644 --- a/chrome/browser/resources/net_internals/main.css +++ b/chrome/browser/resources/net_internals/main.css @@ -5,7 +5,7 @@ found in the LICENSE file. */ * { - -webkit-box-sizing: border-box; + box-sizing: border-box; -moz-box-sizing: border-box; } body { @@ -170,8 +170,8 @@ body { display: inline-block; margin-top: 4px; padding: 5px 10px 3px 10px; - -webkit-border-top-right-radius: 8px; - -webkit-border-top-left-radius: 8px; + border-top-right-radius: 8px; + border-top-left-radius: 8px; background-clip: border-box; background: #ccc; } diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css index 2c0dcc5..2619409 100644 --- a/chrome/browser/resources/new_new_tab.css +++ b/chrome/browser/resources/new_new_tab.css @@ -16,7 +16,7 @@ html[mode=app-launcher] { } #main { - -webkit-box-sizing: border-box; + box-sizing: border-box; -webkit-transition: width .15s; margin: 0 auto; min-height: 100%; @@ -155,7 +155,7 @@ html[anim=false] *, background-color: hsla(213, 63%, 93%, 0); display: block; line-height: 20px; - -webkit-box-sizing: border-box; + box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; diff --git a/chrome/browser/resources/ntp/apps.css b/chrome/browser/resources/ntp/apps.css index 95d51f5..2d03d58 100644 --- a/chrome/browser/resources/ntp/apps.css +++ b/chrome/browser/resources/ntp/apps.css @@ -24,7 +24,7 @@ html.apps-promo-visible #apps-content { .app, .app[new=installed] { - -webkit-box-sizing: border-box; + box-sizing: border-box; -webkit-perspective: 400; border-radius: 10px; color: black; diff --git a/chrome/browser/resources/ntp/most_visited.css b/chrome/browser/resources/ntp/most_visited.css index 27f2958..44933b1 100644 --- a/chrome/browser/resources/ntp/most_visited.css +++ b/chrome/browser/resources/ntp/most_visited.css @@ -195,8 +195,8 @@ html[dir=rtl] .thumbnail-container > .title > div { .thumbnail-container:hover .thumbnail { border-color: hsl(213, 66%, 57%); -webkit-box-shadow: 0px 2px 2px hsla(0, 0%, 0%, 0); - -webkit-border-top-left-radius: 0; - -webkit-border-top-right-radius: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; background-image: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 0%, 0%, 0)), diff --git a/chrome/browser/resources/options/edit_search_engine_overlay.css b/chrome/browser/resources/options/edit_search_engine_overlay.css index 7cc2088..fad104e 100644 --- a/chrome/browser/resources/options/edit_search_engine_overlay.css +++ b/chrome/browser/resources/options/edit_search_engine_overlay.css @@ -13,7 +13,7 @@ #editSearchEngineOverlay table input { width: 100%; - -webkit-box-sizing: border-box; + box-sizing: border-box; } #editSearchEngineOverlay .action-area { diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css index 6b449ce..441adf9 100644 --- a/chrome/browser/resources/options/options_page.css +++ b/chrome/browser/resources/options/options_page.css @@ -353,7 +353,7 @@ select { list > * { -webkit-box-align: center; - -webkit-box-sizing: border-box; + box-sizing: border-box; border-radius: 0px; display: -webkit-box; height: 32px; diff --git a/chrome/browser/resources/options/search_engine_manager.css b/chrome/browser/resources/options/search_engine_manager.css index 7c40f25..03b195c 100644 --- a/chrome/browser/resources/options/search_engine_manager.css +++ b/chrome/browser/resources/options/search_engine_manager.css @@ -8,7 +8,7 @@ } #searchEngineManagerPage .name { - -webkit-box-sizing: border-box; + box-sizing: border-box; width: 50%; } diff --git a/chrome/browser/resources/options/subpages_tab_controls.css b/chrome/browser/resources/options/subpages_tab_controls.css index cfefdcc..c9eb94d 100644 --- a/chrome/browser/resources/options/subpages_tab_controls.css +++ b/chrome/browser/resources/options/subpages_tab_controls.css @@ -14,8 +14,8 @@ found in the LICENSE file. background: white; border: 1px solid #A0A0A0; /* light gray */ border-bottom: 2px solid white; - -webkit-border-top-left-radius: 3px; - -webkit-border-top-right-radius: 3px; + border-top-left-radius: 3px; + border-top-right-radius: 3px; } /* To avoid tabs changing size when they are clicked and their labels become diff --git a/chrome/browser/resources/plugins.html b/chrome/browser/resources/plugins.html index accf25a..cb0a164 100644 --- a/chrome/browser/resources/plugins.html +++ b/chrome/browser/resources/plugins.html @@ -23,7 +23,7 @@ div#header { -webkit-padding-start: 0; padding-top: 20px; position: relative; - -webkit-box-sizing: border-box; + box-sizing: border-box; } #header h1 { diff --git a/chrome/browser/resources/safe_browsing_phishing_block.html b/chrome/browser/resources/safe_browsing_phishing_block.html index 5be0290..52ca6a8 100644 --- a/chrome/browser/resources/safe_browsing_phishing_block.html +++ b/chrome/browser/resources/safe_browsing_phishing_block.html @@ -70,7 +70,7 @@ html[dir='rtl'] .helpbutton { background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#83c260), color-stop(44%,#71b44c), color-stop(100%,#549d2c)); border: 1px solid #4c7336; border-bottom: 1px solid #44692f; - -webkit-border-radius: 3px; + border-radius: 3px; -webkit-box-shadow: inset 0 1px 0 0 #a0d186, 0px 1px 2px rgba(0,0,0,0.2); color: #fff; font-family: arial, helvetica, sans-serif; diff --git a/chrome/browser/resources/shared/css/button.css b/chrome/browser/resources/shared/css/button.css index 8a3d930..1d1c25a 100644 --- a/chrome/browser/resources/shared/css/button.css +++ b/chrome/browser/resources/shared/css/button.css @@ -1,7 +1,7 @@ button { padding: 5px 8px; border: 1px solid rgba(0, 0, 0, .50); - -webkit-border-radius: 3px; + border-radius: 3px; -webkit-box-shadow: 1px 1px 0px rgba(0, 0, 0, .10); background: -webkit-gradient(linear, 0 50%, 0 100%, from(#ffffff), to(#e3e3e3)); diff --git a/chrome/browser/resources/shared/css/list.css b/chrome/browser/resources/shared/css/list.css index 47accb8..9f36f91 100644 --- a/chrome/browser/resources/shared/css/list.css +++ b/chrome/browser/resources/shared/css/list.css @@ -67,7 +67,7 @@ list > [selected]:hover { list > .spacer { border: 0; - -webkit-box-sizing: border-box; + box-sizing: border-box; overflow: hidden; visibility: hidden; margin: 0; diff --git a/chrome/browser/resources/shared/css/menu.css b/chrome/browser/resources/shared/css/menu.css index 19f5248..2aeac3e 100644 --- a/chrome/browser/resources/shared/css/menu.css +++ b/chrome/browser/resources/shared/css/menu.css @@ -15,7 +15,7 @@ menu { } menu > * { - -webkit-box-sizing: border-box; + box-sizing: border-box; display: block; margin: 0; width: 100%; diff --git a/chrome/browser/resources/shared/css/tree.css b/chrome/browser/resources/shared/css/tree.css index d044262..5ea5f86 100644 --- a/chrome/browser/resources/shared/css/tree.css +++ b/chrome/browser/resources/shared/css/tree.css @@ -95,7 +95,7 @@ tree:focus .tree-row[selected] { .tree-item > .tree-row > * { display: inline-block; - -webkit-box-sizing: border-box; + box-sizing: border-box; } .tree-label { diff --git a/chrome/browser/sync/resources/configure.html b/chrome/browser/sync/resources/configure.html index ebab766..90a3491 100644 --- a/chrome/browser/sync/resources/configure.html +++ b/chrome/browser/sync/resources/configure.html @@ -132,7 +132,7 @@ form { text-align: center; padding: 1px 10px; background-color: #eeb939; - -webkit-border-radius: 4px; + border-radius: 4px; font-weight: bold; } .sync-error-hide { diff --git a/chrome/browser/sync/resources/gaia_login.html b/chrome/browser/sync/resources/gaia_login.html index bd19b349..2ae8727 100644 --- a/chrome/browser/sync/resources/gaia_login.html +++ b/chrome/browser/sync/resources/gaia_login.html @@ -99,7 +99,7 @@ text-align: center; padding: 4px 10px; background-color: #eeb939; - -webkit-border-radius: 4px; + border-radius: 4px; font-weight: bold; font-size: 11pt; } diff --git a/chrome/common/extensions/docs/css/samples.css b/chrome/common/extensions/docs/css/samples.css index de3bdb5..05701ea 100644 --- a/chrome/common/extensions/docs/css/samples.css +++ b/chrome/common/extensions/docs/css/samples.css @@ -75,7 +75,6 @@ img.icon { margin: 10px 0; background: #eee; padding: 10px; - -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } @@ -99,4 +98,4 @@ img.icon { padding: 50px 0; font-size: 17px; font-weight: bold; -}
\ No newline at end of file +} diff --git a/chrome/common/extensions/docs/examples/extensions/benchmark/options.html b/chrome/common/extensions/docs/examples/extensions/benchmark/options.html index 24adc77..6db31d2 100644 --- a/chrome/common/extensions/docs/examples/extensions/benchmark/options.html +++ b/chrome/common/extensions/docs/examples/extensions/benchmark/options.html @@ -36,9 +36,9 @@ div#header { position: relative; overflow: hidden; background: #5296de; - -webkit-background-size: 100%; + background-size: 100%; border: 1px solid #3a75bd; - -webkit-border-radius: 6px; + border-radius: 6px; color: white; text-shadow: 0 0 2px black; } diff --git a/chrome/common/extensions/docs/examples/extensions/buildbot/popup.html b/chrome/common/extensions/docs/examples/extensions/buildbot/popup.html index 3a66636..bc84d09 100644 --- a/chrome/common/extensions/docs/examples/extensions/buildbot/popup.html +++ b/chrome/common/extensions/docs/examples/extensions/buildbot/popup.html @@ -147,7 +147,7 @@ body { #links { background-color: #efefef; border: 1px solid #cccccc; - -webkit-border-radius: 5px; + border-radius: 5px; margin-top: 1px; padding: 3px; white-space: nowrap; @@ -175,7 +175,7 @@ body.small .bot { .bot { cursor: pointer; - -webkit-border-radius: 5px; + border-radius: 5px; margin-top: 1px; padding: 3px; white-space: nowrap; diff --git a/chrome/renderer/resources/blocked_plugin.html b/chrome/renderer/resources/blocked_plugin.html index 21637ed..29b0540 100644 --- a/chrome/renderer/resources/blocked_plugin.html +++ b/chrome/renderer/resources/blocked_plugin.html @@ -53,7 +53,7 @@ p { cursor: crosshair; position: absolute; border: 1px black solid; - -webkit-box-sizing: border-box; + box-sizing: border-box; } /* diff --git a/chrome/renderer/resources/outdated_plugin.html b/chrome/renderer/resources/outdated_plugin.html index a913647..590f964 100644 --- a/chrome/renderer/resources/outdated_plugin.html +++ b/chrome/renderer/resources/outdated_plugin.html @@ -40,7 +40,7 @@ p { height: 100%; position: absolute; border: 1px black solid; - -webkit-box-sizing: border-box; + box-sizing: border-box; } #inner { |