WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
106613
select element with an outline shrinks when it receives focus
https://bugs.webkit.org/show_bug.cgi?id=106613
Summary
select element with an outline shrinks when it receives focus
Ojan Vafai
Reported
2013-01-10 15:58:36 PST
Created
attachment 182220
[details]
test case See test case.
Attachments
test case
(271 bytes, text/html)
2013-01-10 15:58 PST
,
Ojan Vafai
no flags
Details
Local Build with culprit UA rule removed
(112.06 KB, image/png)
2023-06-03 21:38 PDT
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2013-01-15 03:33:18 PST
Because we have outline-offset in html.css? input:focus, textarea:focus, isindex:focus, keygen:focus, select:focus { outline-offset: -2px }
Ahmad Saleem
Comment 2
2023-05-27 07:07:55 PDT
We still have this issue:
https://searchfox.org/wubkat/source/Source/WebCore/css/html.css#1298
Ahmad Saleem
Comment 3
2023-06-03 21:37:06 PDT
(In reply to Kent Tamura from
comment #1
)
> Because we have outline-offset in html.css? > > input:focus, textarea:focus, isindex:focus, keygen:focus, select:focus { > outline-offset: -2px > }
Removing this above makes both ‘select’ element looks same in Minibrowser - if I delete below UA stylesheet rule. Will attach screenshot.
Ahmad Saleem
Comment 4
2023-06-03 21:38:31 PDT
Created
attachment 466587
[details]
Local Build with culprit UA rule removed
Karl Dubost
Comment 5
2023-06-04 22:34:33 PDT
It doesn't seem defined on Firefox. This was added in
https://searchfox.org/wubkat/commit/c435dd62c7a5b3a5d1f6f7b04aa5e39072fa35bf
by Alan. Let's ask him.
zalan
Comment 6
2023-06-05 06:33:58 PDT
(In reply to Karl Dubost from
comment #5
)
> It doesn't seem defined on Firefox. > > This was added in >
https://searchfox.org/wubkat/commit/c435dd62c7a5b3a5d1f6f7b04aa5e39072fa35bf
> by Alan. > > Let's ask him.
It was added to preserve existing behavior (patch was landed in 2016 while this bug was filed in 2013).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug