RESOLVED FIXED 143483
Fill list style background with same color with that of list background.
https://bugs.webkit.org/show_bug.cgi?id=143483
Summary Fill list style background with same color with that of list background.
ChangSeok Oh
Reported 2015-04-07 10:16:22 PDT
List style ignores selection background color.
Attachments
Patch (34.67 KB, patch)
2015-04-07 10:33 PDT, ChangSeok Oh
no flags
Patch (56.98 KB, patch)
2015-04-08 00:27 PDT, ChangSeok Oh
simon.fraser: review+
simon.fraser: commit-queue-
Patch (6.50 KB, patch)
2015-04-08 06:47 PDT, ChangSeok Oh
buildbot: commit-queue-
Archive of layout-test-results from ews101 for mac-mavericks (586.17 KB, application/zip)
2015-04-08 07:37 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (645.19 KB, application/zip)
2015-04-08 07:44 PDT, Build Bot
no flags
Patch (57.20 KB, patch)
2015-04-08 08:40 PDT, ChangSeok Oh
no flags
ChangSeok Oh
Comment 1 2015-04-07 10:33:21 PDT
Created attachment 250273 [details] Patch WIP
ChangSeok Oh
Comment 2 2015-04-08 00:27:32 PDT
Simon Fraser (smfr)
Comment 3 2015-04-08 00:39:18 PDT
Comment on attachment 250341 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=250341&action=review > LayoutTests/ChangeLog:9 > + * fast/backgrounds/selection-background-color-of-image-list-style.html: Added. > + * fast/backgrounds/selection-background-color-of-list-style.html: Added. It would be good if these could be reference tests instead. > LayoutTests/fast/backgrounds/selection-background-color-of-list-style.html:3 > +ul>li::selection { background: red; } Please don't use red in a passing test.
ChangSeok Oh
Comment 4 2015-04-08 00:59:33 PDT
Comment on attachment 250341 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=250341&action=review Thanks for your review. >> LayoutTests/ChangeLog:9 >> + * fast/backgrounds/selection-background-color-of-list-style.html: Added. > > It would be good if these could be reference tests instead. Hrm. I don't know a better way except pixel test. Is there a way to get background color of list style programmatically? >> LayoutTests/fast/backgrounds/selection-background-color-of-list-style.html:3 >> +ul>li::selection { background: red; } > > Please don't use red in a passing test. Then green?
ChangSeok Oh
Comment 5 2015-04-08 04:24:21 PDT
Though I could write a reference test, but I can create a perfectly matched expected.html. Reference test is too strict. I can't overcome 0.01% of difference between expected and actual. Is there anyway to suppress it?
ChangSeok Oh
Comment 6 2015-04-08 04:25:31 PDT
(In reply to comment #5) > but I can create a perfectly matched expected.html. Sorry, %s/can/can't
ChangSeok Oh
Comment 7 2015-04-08 06:47:55 PDT
Build Bot
Comment 8 2015-04-08 07:37:26 PDT
Comment on attachment 250349 [details] Patch Attachment 250349 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6748241802559488 New failing tests: fast/backgrounds/selection-background-color-of-image-list-style.html fast/backgrounds/selection-background-color-of-list-style.html
Build Bot
Comment 9 2015-04-08 07:37:29 PDT
Created attachment 250350 [details] Archive of layout-test-results from ews101 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 10 2015-04-08 07:44:54 PDT
Comment on attachment 250349 [details] Patch Attachment 250349 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5321318375358464 New failing tests: fast/backgrounds/selection-background-color-of-image-list-style.html fast/backgrounds/selection-background-color-of-list-style.html
Build Bot
Comment 11 2015-04-08 07:44:57 PDT
Created attachment 250351 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
ChangSeok Oh
Comment 12 2015-04-08 08:09:39 PDT
Weird. I don't know where the 0.01% difference come from. I'll bring back pixel test results and land it if no strong objection.
ChangSeok Oh
Comment 13 2015-04-08 08:40:22 PDT
WebKit Commit Bot
Comment 14 2015-04-08 10:15:03 PDT
Comment on attachment 250353 [details] Patch Clearing flags on attachment: 250353 Committed r182546: <http://trac.webkit.org/changeset/182546>
ChangSeok Oh
Comment 15 2016-04-06 21:33:15 PDT
Patch landed. Close this.
Note You need to log in before you can comment on or make changes to this bug.