Skip to content
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

Add note on actualBoundingBoxLeft that the value is calculated reversed #11290

Merged
merged 1 commit into from
Jan 5, 2022
Merged

Add note on actualBoundingBoxLeft that the value is calculated reversed #11290

merged 1 commit into from
Jan 5, 2022

Conversation

vlwkaos
Copy link
Contributor

@vlwkaos vlwkaos commented Dec 18, 2021

Summary

Add note on actualBoundingBoxLeft that the value is calculated reversed

Motivation

A value of actualBoundingBoxLeft can be confusing due to it not clarifying how it is calculated in reverse.

Supporting details

See comments on #11116 for more information.

Related issues

Fixes #11116

Metadata

  • Adds a new document
  • Rewrites (or significantly expands) a document
  • Fixes a typo, bug, or other error

@vlwkaos vlwkaos requested a review from a team as a code owner December 18, 2021 04:09
@vlwkaos vlwkaos requested review from jpmedley and removed request for a team December 18, 2021 04:09
@github-actions github-actions bot added the Content:WebAPI Web API docs label Dec 18, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2021

Preview URLs

Flaws

None! 🎉

External URLs

URL: /en-US/docs/Web/API/TextMetrics
Title: TextMetrics
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/TextMetrics/actualBoundingBoxLeft
Title: TextMetrics.actualBoundingBoxLeft
on GitHub

No new external URLs

(this comment was updated 2021-12-22 13:02:31.106176)

@vlwkaos
Copy link
Contributor Author

vlwkaos commented Dec 18, 2021

@susbox

Just added the comment from source code as a note. Do you mind reviewing the changes?
Your other suggestions are sound, but I think is out of scope for mdn/content.

Copy link
Collaborator

@jpmedley jpmedley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for helping us improve this. I have a couple of suggestions.

@vlwkaos vlwkaos requested a review from jpmedley December 26, 2021 13:39
Copy link
Collaborator

@jpmedley jpmedley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you and sorry for the delay. I've been out of the office.

@jpmedley jpmedley merged commit dd162c2 into mdn:main Jan 5, 2022
wbamberg added a commit to wbamberg/content that referenced this pull request Jan 5, 2022
…ed-js

* upstream/main: (286 commits)
  MediaQueryList removeListener depreciation (mdn#11749)
  Update index.md to make text time independent (mdn#11748)
  Corrected typos in multiple pages (mdn#11746)
  Fix some awkward hyperlink formatting (mdn#11740)
  HTMLElement .offset[height|left|parent|top|width] are stable removed experimental icon (mdn#11741)
  Typo (mdn#11742)
  Fix comments (mdn#11756)
  Restore line breaks in the `<dd>`s (mdn#11757)
  Added clarification when property reflects the HTML attribute (mdn#11751)
  Bump technote-space/get-diff-action from 5.0.2 to 6.0.1 (mdn#11755)
  Change "validate" to "check" (mdn#11550)
  Clarify behavior of Array.p.lastIndexOf() fromIndex arg (mdn#11731)
  FF97 Add experimental feature for ScreenOrientation.lock() (mdn#11705)
  Correcting one of the example provided (mdn#11709)
  Adds support for AbortSignal.reason and related items (mdn#11708)
  Added documentation on missing property (mdn#11721)
  Bump @mdn/yari from 0.5.4 to 0.6.6 (mdn#11722)
  Fix: bring gl.FRAMEBUFFER target in line with  the spec (mdn#11732)
  ScreenOrientation.lock() updates for FF97 (mdn#11684)
  Reword actualBoundingBoxLeft description (mdn#11290)
  ...
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with "TextMetrics": (short summary here please)
2 participants