-
Notifications
You must be signed in to change notification settings - Fork 446
Convert all enums to KDL format in addedTypes #2099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
enum FontDisplay { | ||
// https://w3c.github.io/csswg-drafts/css-fonts-4/#font-display-desc | ||
auto | ||
block | ||
swap | ||
fallback | ||
optional | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
enum GlobalCompositeOperation { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. html-canvas.kdl There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
source-over | ||
source-in | ||
source-out | ||
source-atop | ||
destination-over | ||
destination-in | ||
destination-out | ||
destination-atop | ||
lighter | ||
copy | ||
xor | ||
multiply | ||
screen | ||
overlay | ||
darken | ||
lighten | ||
color-dodge | ||
color-burn | ||
hard-light | ||
soft-light | ||
difference | ||
exclusion | ||
hue | ||
saturation | ||
color | ||
luminosity | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
enum PermissionName { | ||
// This is a subset of the permissions defined in the spec: | ||
// https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features | ||
// Please add a feature only when it's supported by multiple engines. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you either move this comment above enum or add a newline between this and full support comment? |
||
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please keep other comments too from jsonc. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Uhm no, the same link is just repeating, we should reflect the original comments. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry @saschanaz |
||
camera | ||
geolocation | ||
microphone | ||
midi | ||
notifications | ||
persistent-storage | ||
push | ||
screen-wake-lock | ||
storage-access | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
enum InsertPosition { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dom.kdl There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
beforebegin | ||
beforeend | ||
afterbegin | ||
afterend | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
enum RTCStatsIceCandidatePairState { | ||
inprogress | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's remove this while we are at it, as of now only Gecko has it and thus this should go. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
css-font.kdl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done