mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #19249 - tigercosmos:info, r=jdm
fix annotation URL The annotation URL for `scroll_node` is wrong. (The origin URL is where it is called, not its implement.) The implement is in https://drafts.csswg.org/cssom-view/#element-scrolling-members --- <!-- 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 - [X] These changes do not require tests <!-- 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. --> <!-- 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/19249) <!-- Reviewable:end -->
This commit is contained in:
commit
5c7e79e91c
1 changed files with 1 additions and 1 deletions
|
@ -1418,7 +1418,7 @@ impl Window {
|
|||
Vector2D::new(0.0, 0.0)
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#dom-element-scroll
|
||||
// https://drafts.csswg.org/cssom-view/#element-scrolling-members
|
||||
pub fn scroll_node(&self,
|
||||
node: &Node,
|
||||
x_: f64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue