diff options
author | bors-servo <infra@servo.org> | 2023-05-08 13:56:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 13:56:51 +0200 |
commit | 419c03182f93542424c21f50da8d14358e46a6bd (patch) | |
tree | 49c39fd4d697621be471022252790e0a71b6ba24 /python/servo/package_commands.py | |
parent | 61f872e7da238860c0e043b57b9bbf37cb7fa893 (diff) | |
parent | 53f939eac516408fca968fb7fa1f70a0dcd153c2 (diff) | |
download | servo-419c03182f93542424c21f50da8d14358e46a6bd.tar.gz servo-419c03182f93542424c21f50da8d14358e46a6bd.zip |
Auto merge of #29711 - switchpiggy:sp3, r=mrobinson
Implemented special cases for Element.clientWidth() and clientHeight()
<!-- Please describe your changes on the following line: -->
Implemented the special cases for Element.clientWidth() and Element.clientHeight() as outlined in issue #29704.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
<!-- Either: -->
- [x] These changes do not require tests because tests already exist.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
[Specification text](https://w3c.github.io/csswg-drafts/cssom-view/#dom-element-clientwidth):
> If the element is the [root element](https://w3c.github.io/csswg-drafts/css-display-4/#root-element) and the element’s [node document](https://dom.spec.whatwg.org/#concept-node-document) is not in [quirks mode](https://dom.spec.whatwg.org/#concept-document-quirks), or if the element is [the body element](https://html.spec.whatwg.org/multipage/dom.html#the-body-element-2) and the element’s node document is in quirks mode, return the [viewport](https://www.w3.org/TR/CSS21/visuren.html#x1) width excluding the size of a rendered scroll bar (if any).
Diffstat (limited to 'python/servo/package_commands.py')
0 files changed, 0 insertions, 0 deletions