зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #19249 - fix annotation URL (from tigercosmos:info); r=jdm
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. --> Source-Repo: https://github.com/servo/servo Source-Revision: 5c7e79e91c12d19830fdb4c6c17be2a551f88aa2 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 02fb845f210911fd4536caf324e36715978ce88c
This commit is contained in:
Родитель
6b9b756cf7
Коммит
ef2372e61a
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче