Comments (4)
Most browsers seem to implement this already, but using the opening-quote
and closing-quote
keywords. That tends to work better across fonts and languages.
from sanitize.css.
Chrome/Opera/Safari default stylesheets use open-quote
, which is currently non-directional. Look at the pen. Chrome/Opera/Safari don't accept the opening-quote
keyword:
http://codepen.io/anon/pen/xGpmZG
So I'm not sure what you mean by "most browsers" here. Totally agreed this needs to be handled sensitively for internationalization.
from sanitize.css.
I do see the directional quotes on my machine, which suggests this is going
to be another one of those headache incompatibility issues.
On Mon, Jun 29, 2015 at 5:04 PM, Alex Bell [email protected] wrote:
Chrome/Opera/Safari default stylesheets use open-quote, which is
currently non-directional. Look at the pen. Chrome/Opera/Safari don't
accept the opening-quote keyword:http://codepen.io/anon/pen/xGpmZG
So I'm not sure what you mean by "most browsers" here. Totally agreed this
needs to be handled sensitively for internationalization.—
Reply to this email directly or view it on GitHub
#32 (comment)
.
from sanitize.css.
As @tigt says, the default works best, especially across fonts, languages (and I think text directions, too).
from sanitize.css.
Related Issues (20)
- Height: 100% on html/body? HOT 1
- sanitize.css adds an extra dotted outline to focused buttons in Firefox HOT 1
- Pedantic colon placement HOT 1
- Why do we need `text-indent: 0` for the `table`s? HOT 5
- list-style-type:none for <ol> ? HOT 2
- Should set `cursor: pointer` on the `[aria-controls]` elements? HOT 3
- Accessibility fix: Allow iOS browsers to auto-scale fonts based on user preference HOT 7
- Other npm packages have references pages.css HOT 5
- zero-width space is consuming space in Safari
- Video captions to match body font family HOT 2
- iOS 15 brings up some new default styles HOT 1
- Pseudo-class :where()? HOT 4
- Text cursor not showing on paragraphs
- `nav li::before` breaks flexbox lists
- Touch-action is not in the stylesheet
- Add svg to assets.css
- Is this project alive/maintained? HOT 1
- Update README.md
- Consider removing opinionated tab-size
- Background transparency issue with iframe elements
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.