Comments (4)
@lesha1201 You're a pro! After some experimentation, we can't preset the outline or border using @master/normal.css. Once you apply border:1|blue
, the border-style
reverts to its initial state because the border shorthand doesn't inherit solid
. This might be why we initially set up this behavior in the Master CSS rules. I'll revert those recent commits.
from css.
Browsers default styles:
- WebKit - https://searchfox.org/wubkat/source/Source/WebCore/css/html.css#1292-1298
- Chromium - https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/resources/html.css;l=1220;bpv=0
- Firefox - https://searchfox.org/mozilla-central/source/layout/style/res/ua.css#176
You can search for outline
there to see how it might affect.
From my research, those 3 browsers have different styling for the default focus state. To use the default styling, we can do something like this:
:focus-visible {
outline: auto;
}
Chromium and Firefox has some special cases where outline
is also used but I'm not sure if they actually matter in our case. For example, Chromium has:
input[type="time" i]::-webkit-calendar-picker-indicator:focus-visible {
outline: solid 2px -webkit-focus-ring-color;
outline-offset: -2px;
}
But it doesn't apply it to anything when I tested in Chrome 119 because -webkit-calendar-picker-indicator
isn't focusable at all. However, I'm not sure about those special cases because I don't have any context about them.
from css.
🎉 This issue has been resolved in version 2.0.0-beta.199 🎉
The release is available on:
- GitHub release
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
Your semantic-release bot 📦🚀
from css.
🎉 This issue has been resolved in version 2.0.0-rc.1 🎉
The release is available on:
- GitHub release
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
Your semantic-release bot 📦🚀
from css.
Related Issues (20)
- 📄 Abbreviations table HOT 2
- 📄 Easy grid systems? HOT 1
- 💖 Shorthand rules automatically inherit related rule variables
- 🐞 Valid CSS declaration was verified as unknown
- ✨ Support missing important CSS logical properties and values
- ✨ Container Queries HOT 6
- 🐞 Value in config.variables is not recognized when it is zero
- 🐞 Hinted pseudo-class label name is missing `()`
- 🐞 Static extraction misses generating variables and related classes
- ✨ ESLint: Recommended Syntax Warnings
- 🐞 [ESLint] A config object is using the "parserOptions" key, which is not supported in flat config system. HOT 1
- 🐞 An error "Cannot find module" occurs when importing files in master.config.ts
- 🐞 CSS rules with vender prefix is listed after the original
- 🐞 Incorrect syntax highlighting `{@delay:.5s}` HOT 1
- The automated release is failing 🚨
- 🐞 Causes incorrect class selection when there is only one character HOT 2
- ✨ Variables support all color functions
- 🐞 calc in border size reverts to border-width HOT 1
- 🐞 Solid gets appended to border when using vars for all params HOT 1
- ✨ Add Text-wrap HOT 2
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 css.