RESOLVED FIXED109101
Reset the border property for -webkit-slider-thumb in unknown-pseudo-element-matching test
https://bugs.webkit.org/show_bug.cgi?id=109101
Summary Reset the border property for -webkit-slider-thumb in unknown-pseudo-element-...
Dima Gorbik
Reported 2013-02-06 15:29:34 PST
We check that the style matches a pseudo element by setting its height to 1px. But if there was a border property set in default styles the minimum height will be 2px, so the test will fail. We need to reset this property.
Attachments
Proposed fix 0.1 (1.49 KB, patch)
2013-02-06 15:36 PST, Dima Gorbik
joepeck: review+
Proposed fix 0.2 (1.46 KB, patch)
2013-02-06 15:42 PST, Dima Gorbik
no flags
Radar WebKit Bug Importer
Comment 1 2013-02-06 15:29:45 PST
Dima Gorbik
Comment 2 2013-02-06 15:36:19 PST
Created attachment 186935 [details] Proposed fix 0.1
Joseph Pecoraro
Comment 3 2013-02-06 15:38:40 PST
Comment on attachment 186935 [details] Proposed fix 0.1 View in context: https://bugs.webkit.org/attachment.cgi?id=186935&action=review r=me > LayoutTests/ChangeLog:8 > + We need to reset this property. You could call out a sample user agent "Some user agents, like iOS, have default border styles that affect the minimum height".
Dima Gorbik
Comment 4 2013-02-06 15:42:12 PST
Created attachment 186937 [details] Proposed fix 0.2
Joseph Pecoraro
Comment 5 2013-02-06 15:43:27 PST
Comment on attachment 186937 [details] Proposed fix 0.2 r=me
WebKit Review Bot
Comment 6 2013-02-06 16:32:52 PST
Comment on attachment 186937 [details] Proposed fix 0.2 Clearing flags on attachment: 186937 Committed r142052: <http://trac.webkit.org/changeset/142052>
WebKit Review Bot
Comment 7 2013-02-06 16:32:56 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.