Skip to content

[font-metrics-api] Align with Web IDL specification #962

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

Merged
merged 2 commits into from
Apr 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions font-metrics-api/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ those that are passed in as a part of the styleMap. Document styles do not apply
----------------------------

<pre class='idl'>
[Exposed=Window]
interface FontMetrics {
readonly attribute double width;
readonly attribute FrozenArray&lt;double> advances;
Expand Down Expand Up @@ -166,6 +167,7 @@ List of all {{Baseline}}s for the given text.
----------------------------

<pre class='idl'>
[Exposed=Window]
interface Baseline {
readonly attribute DOMString name;
readonly attribute double value;
Expand All @@ -188,6 +190,7 @@ Positive numbers indicating a distance going down from the
----------------------------

<pre class='idl'>
[Exposed=Window]
interface Font {
readonly attribute DOMString name;
readonly attribute unsigned long glyphsRendered;
Expand Down