mirror of
https://github.com/servo/servo.git
synced 2025-07-02 04:53:39 +01:00
Auto merge of #20864 - tigercosmos:aa1, r=emilio
remove misleading spec url <!-- Please describe your changes on the following line: --> `pub fn scroll_area(&self)` in `node.rs` is only called by `fn ScrollHeight(&self)` and `fn ScrollWidth(&self)` in `element.rs`. `scrolltop` and `scrollleft` are actually implemented in `element.rs`. The misleading spec urls should be removed. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20864) <!-- Reviewable:end -->
This commit is contained in:
commit
4e6b100c7e
1 changed files with 0 additions and 2 deletions
|
@ -628,8 +628,6 @@ impl Node {
|
|||
|
||||
// https://drafts.csswg.org/cssom-view/#dom-element-scrollwidth
|
||||
// https://drafts.csswg.org/cssom-view/#dom-element-scrollheight
|
||||
// https://drafts.csswg.org/cssom-view/#dom-element-scrolltop
|
||||
// https://drafts.csswg.org/cssom-view/#dom-element-scrollleft
|
||||
pub fn scroll_area(&self) -> Rect<i32> {
|
||||
// Step 1
|
||||
let document = self.owner_doc();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue