Comments (4)
@cgaube thanks for reporting this. This is happening because btoa
doesn't support unicode characters, which bootstrap seems to be using. We're looking into this and will get back to you soon.
from cli.
Thanks @samarsault Looking forward to that
I did some testing around and removing the call to btoa
seem to make everything work for me.
I must be missing some context but I am not sure why this data has to be base64 for it to work
let content = data;
from cli.
Are you using bootstrap with adoptedStylesheets? We use btoa
to create a serialized resource at our server for an adoptedStylesheet, and the server expects a byte data buffer.
from cli.
We are using Lit to create web components and for styles they tell us to do this https://lit.dev/docs/components/styles/
I believe their css
function does use adoptedStylesheet
under the hood
https://github.com/lit/lit/blob/c10df5d71ed08e4834959fe1ed9e865f13c0e31b/packages/reactive-element/src/css-tag.ts#L11
Thank you
from cli.
Related Issues (20)
- Browserstack: Build not created, Error: connect ECONNREFUSED HOT 3
- Bumping to different versions [Dependabot] HOT 1
- Reference Error: Excessive alias count indicates a resource exhaustion attack in percy url yaml with 360 url items HOT 2
- [percy] ParseError: Unexpected argument 'storybook'
- Percy exec fails binding to ipv6 HOT 2
- 413 Payload Too Large
- static.ignore option doesn't work
- Using PERCY_ENABLE can lead to NPE HOT 4
- V1.28.2 introduces a bug causing our CI to fail due to bad requests HOT 3
- Base64 encoded SVGs cause error when capturing HOT 5
- Add `percy exec` flag to avoid failure for Percy-related issues HOT 2
- Add a command that takes screenshots and writes them to a file instead of uploading HOT 1
- Percy does not work with Yarn PnP HOT 1
- `POST /percy/snapshot` API - Error during asset discovery not reported HOT 8
- Percy Build Wait command exiting immediately on changes. HOT 3
- Cypress Tests Failing Due to DOM Serialization Error in Percy Integration
- Unable to capture the dialog web component when it is nested inside a shadow DOM HOT 5
- Percy reports "Invalid snapshot options:" even when there is zero problems HOT 4
- PERCY_POSTINSTALL_BROWSER set to "0" or "false" should not trigger browser download HOT 2
- Test issue
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 cli.