w3c / w3c/csswg-drafts

[resize-observer] Make all returned properties have the word box in them

Open
#3,549 12 comments 0 reactions 1 assignee View on GitHub

@gregwhitworth is already working on this.

Since Jan 23, 2019.

Needs Feedback/Review resize-observer-1
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

To be very clear, here are the boxes whos dimensions would be returned:

  • borderBoxSize
  • contentSize
  • scrollSize
  • devicePixelBorderBoxSize

If we can observe border-box, content-box, scroll-box and device-pixel-border-box, shouldn't all property names also include box in the name?

  • borderBoxSize
  • contentBoxSize
  • scrollBoxSize
  • devicePixelBorderBoxSize

Originally posted by @TremayneChrist in https://github.com/w3c/csswg-drafts/issues/3329#issuecomment-456892600

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.