outline-style:auto doesn't work on GTK in some environments
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox73 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: emilio)
References
()
Details
(Keywords: testcase, Whiteboard: tpi:+)
Attachments
(6 files, 1 obsolete file)
| Reporter | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
| Reporter | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
| Reporter | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
| Reporter | ||
Comment 8•11 years ago
|
||
| Reporter | ||
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Updated•9 years ago
|
Updated•8 years ago
|
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Updated•8 years ago
|
| Reporter | ||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 15•6 years ago
|
||
The x and y tweaks weren't getting used, because they were not being copied to
the local x and y variables too. With that fixed, this seems to work
nicely.
I want to enable outline-style: auto both for parity with other browsers but
also because it unblocks stuff like bug 1583381 / bug 1311444.
Updated•6 years ago
|
| Assignee | ||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5cd557d590e2
https://hg.mozilla.org/mozilla-central/rev/34b6ced1e552
Comment 20•6 years ago
|
||
The effect of gtk_render_focus() on a GtkLabel can be seen by tabbing through the "Links" gtk3-demo.
Adwaita's rendering (version 3.24.14) looks a bit weird to me, but I assume that's how the theme has decided to draw the focus ring.
"Test" surrounded by an outline that looks like it has focus
This appears to continue to affect input[type="checkbox"] with the undermentioned test case, per the attached screenshot.
<!DOCTYPE html>
<html>
<head>
<style>
html { color-scheme: light dark; }
input[type="checkbox"] { outline-style: auto; }
</style>
</head>
<body>
<input type="checkbox" disabled>
</body>
</html>
Is this worth a new report, or is this a regression?
Environment
A new profile in firefox-137.0-2.fc42.x86_64, with:
KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.13.0 Qt Version: 6.8.2 Kernel Version: 6.14.2-300.fc42.x86_64 (64-bit) Graphics Platform: Wayland
| Assignee | ||
Comment 22•1 year ago
|
||
I'm confused, what is the issue with that outline? That is the expected rendering afaict. The corner rendering could be better, I suspect that's because of hidpi, but...
I suspect that's because of hi-DPI
It's a (108 PPI) AOC Q3279WG5B, so I doubt it.
what is the issue with that outline?
There shouldn't be both a blue and white border around the checkbox, surely? I'll attach a screenshot of the checkbox without the CSS3 rule to demonstrate, and a screenshot of a GTK3 checkbox for comparison.
| Assignee | ||
Comment 26•1 year ago
|
||
There shouldn't be both a blue and white border around the checkbox, surely? I'll attach a screenshot of the checkbox without the CSS3 rule to demonstrate, and a screenshot of a GTK3 checkbox for comparison.
Yes, the double-outline is very intentional, see bug 1864052 and co.
Description
•