W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [cssom-view] getBoundingClientRect undefined in paged media (#4463)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 29 Oct 2019 06:24:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-547275357-1572330264-sysbot+gh@w3.org>
Just thought of another alternative. This one seems bad too as it is largely meaningless, but as a logical possibility that might be the result of naive implementation, I though it was worth listing:

7. Ignore the fact that pages are different coordinate spaces, as calculate the bounding rectangles as if they were superposed: the intersection of `{x: 0, y: 0, width: 10, height: 10}` on page 1 and `{x: 5, y: 10, width: 10, height: 10}` on page 2 would be `{x: 0, y: 0, width: 15, height: 20}`

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4463#issuecomment-547275357 using your GitHub account
Received on Tuesday, 29 October 2019 06:24:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:55 UTC