Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
IDisposable committed Feb 9, 2024
1 parent ec3999a commit be3b447
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ Are you facing a [CORS policy](https://developer.mozilla.org/en-US/docs/Web/HTTP
issue in your app? Don't worry, there are alternative solutions to this problem that you
can explore. Here are some options to consider:

1. **Use the option.corsImg support by passing images** With this option, you can setup
a proxy service that will process the requests in a safe CORS context.
1. **Use the option.corsImg support by passing images** With this option, you can setup a
proxy service that will process the requests in a safe CORS context.

2. **Use third-party services like [allOrigins](https://allorigins.win/).** With this
service, you can fetch the source code or an image in base64 format from any website.
Expand Down
5 changes: 5 additions & 0 deletions spec/resources/eventing/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#dom-node {
width: 500px;
height: 500px;
background-color: blue;
}
4 changes: 3 additions & 1 deletion spec/resources/fonts/web-fonts/embedded.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@font-face {
font-family: 'Font1';
src: url('data:application/x-font-woff2;base64,AAA') format('woff2'), local(Arial);
src:
url('data:application/x-font-woff2;base64,AAA') format('woff2'),
local(Arial);
font-weight: normal;
font-style: normal;
}
6 changes: 4 additions & 2 deletions spec/resources/fonts/web-fonts/remote.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@font-face {
font-family: 'Font1';
src: url('http://fonts.com/font1.woff2') format('woff2'),
url('http://fonts.com/font1.woff') format('woff'), local(Arial);
src:
url('http://fonts.com/font1.woff2') format('woff2'),
url('http://fonts.com/font1.woff') format('woff'),
local(Arial);
font-weight: normal;
font-style: normal;
}
14 changes: 10 additions & 4 deletions spec/resources/fonts/web-fonts/rules.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
@font-face {
font-family: 'Font1';
src: url('http://fonts.com/font1.woff') format('woff'),
url('http://fonts.com/font1.woff2') format('woff2'), local('Arial');
src:
url('http://fonts.com/font1.woff') format('woff'),
url('http://fonts.com/font1.woff2') format('woff2'),
local('Arial');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Font2';
src: url('http://fonts.com/font2.ttf?v1.1.3') format('truetype'), local('Ubuntu');
src:
url('http://fonts.com/font2.ttf?v1.1.3') format('truetype'),
local('Ubuntu');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Font3';
src: url('data:font/woff2;base64,AAA') format('woff2'), local('Ubuntu');
src:
url('data:font/woff2;base64,AAA') format('woff2'),
local('Ubuntu');
font-weight: normal;
font-style: normal;
}
Expand Down
4 changes: 3 additions & 1 deletion spec/resources/fonts/web-fonts/with-query.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@font-face {
font-family: 'Font1';
src: url('http://fonts.com/font1.woff2?v=4.3.0') format('woff2'), local(Arial);
src:
url('http://fonts.com/font1.woff2?v=4.3.0') format('woff2'),
local(Arial);
font-weight: normal;
font-style: normal;
}

0 comments on commit be3b447

Please sign in to comment.