Comments (2)
That's not a border, it's a focus outline, indicating that the element has focus. Browsers are allowed some leeway in when they show a focus ring; in this case, I suspect that a button activation is considered "obvious" so it doesn't need an outline, but a non-button activation isn't, so they show one.
If you really want to suppress that, use the outline
property.
from html.
Thank you,I set dialog{outline: 0px; border: 0px ; }
Later successfully resolved
from html.
Related Issues (20)
- Discussing how to focus navigate display: contents elements that are focusable in CSS reading-flow HOT 5
- Upcoming WHATNOT meeting on 2024-08-01 HOT 1
- Example in parallelism section needs to "queue a task" to handle the promise
- Meeting 5 for joint OpenUI-WHATWG/HTML-CSSWG task force on styleable form controls HOT 4
- Allow explicitly indicating an `unchecked` state for an `<input type="checkbox">`. HOT 3
- Upcoming WHATNOT meeting on 2024-08-08 HOT 1
- Discussing how to focus navigate absolute position elements that are focusable in CSS reading-flow
- Rationale for when invalid value default differs from missing value default HOT 8
- Chinese Translation of HTML Standard Completed HOT 3
- Script element schematic diagram for async/defer is not readable in dark mode HOT 6
- inconsistent input label `:active` and `:hover` behavior HOT 1
- Document "can have its URL rewritten" incorrectly rejects file:// URL with only query changed HOT 4
- HTMLConstructor construction steps: Incorrect exception specified in step 11. HOT 3
- Upcoming WHATNOT meeting on 2024-08-15 HOT 1
- Upcoming WHATNOT meeting on 2024-08-22 HOT 2
- Meeting 6 for joint OpenUI-WHATWG/HTML-CSSWG task force on styleable form controls HOT 1
- Specify primitive appearance for <meter> HOT 1
- Proposal for adding volume attribute to the <audio> element in HTML HOT 1
- Add src attribute to <template> to load a template from file HOT 2
- Upcoming WHATNOT meeting on 2024-08-29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html.