Bug 117908 - CSS background-color differs for button when background image is specified by background-image/background
Summary: CSS background-color differs for button when background image is specified b...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: All All
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-22 06:32 PDT by Santosh Mahto
Modified: 2022-07-13 14:54 PDT (History)
7 users (show)

See Also:


Attachments
TestPage (329 bytes, text/html)
2013-06-22 06:32 PDT, Santosh Mahto
no flags Details
Patch (1.59 KB, patch)
2013-06-22 06:38 PDT, Santosh Mahto
beidson: review-
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 (506.23 KB, application/zip)
2013-06-22 07:15 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion (608.16 KB, application/zip)
2013-06-22 07:42 PDT, Build Bot
no flags Details
Archive of layout-test-results from APPLE-EWS-3 for win-future (892.50 KB, application/zip)
2013-06-22 08:46 PDT, Build Bot
no flags Details
Archive of layout-test-results from APPLE-EWS-1 for win-future (892.47 KB, application/zip)
2013-06-22 09:58 PDT, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Santosh Mahto 2013-06-22 06:32:54 PDT
Created attachment 205246 [details]
TestPage

<button type="button" style="background: url("");"> Click Me1</button>
<button type="button" style="background-image: url("");"> Click Me1</button>

In both case the background color differs 
Since we are specifying only background image, the background color should not differ.
 
In first case : background-color becomes   initial value 
In second case : background-color becomes   user agent specified value
Comment 1 Santosh Mahto 2013-06-22 06:38:23 PDT
Created attachment 205247 [details]
Patch
Comment 2 Build Bot 2013-06-22 07:15:47 PDT
Comment on attachment 205247 [details]
Patch

Attachment 205247 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/960417

New failing tests:
fast/forms/select-style.html
Comment 3 Build Bot 2013-06-22 07:15:48 PDT
Created attachment 205248 [details]
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-14  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.3
Comment 4 Build Bot 2013-06-22 07:42:54 PDT
Comment on attachment 205247 [details]
Patch

Attachment 205247 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/898881

New failing tests:
fast/forms/select-style.html
Comment 5 Build Bot 2013-06-22 07:42:55 PDT
Created attachment 205249 [details]
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-03  Port: mac-mountainlion  Platform: Mac OS X 10.8.3
Comment 6 Build Bot 2013-06-22 08:46:50 PDT
Comment on attachment 205247 [details]
Patch

Attachment 205247 [details] did not pass win-ews (win):
Output: http://webkit-queues.appspot.com/results/966240

New failing tests:
fast/forms/select-style.html
Comment 7 Build Bot 2013-06-22 08:46:52 PDT
Created attachment 205252 [details]
Archive of layout-test-results from APPLE-EWS-3 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: APPLE-EWS-3  Port: win-future  Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Comment 8 Build Bot 2013-06-22 09:58:25 PDT
Comment on attachment 205247 [details]
Patch

Attachment 205247 [details] did not pass win-ews (win):
Output: http://webkit-queues.appspot.com/results/918838

New failing tests:
fast/forms/select-style.html
Comment 9 Build Bot 2013-06-22 09:58:27 PDT
Created attachment 205255 [details]
Archive of layout-test-results from APPLE-EWS-1 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: APPLE-EWS-1  Port: win-future  Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Comment 10 Brady Eidson 2016-05-24 22:01:22 PDT
Comment on attachment 205247 [details]
Patch

Assuming that patches for review since 2013 are stale, r-
Comment 11 Brent Fulgham 2022-07-13 14:54:14 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.