mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Implement HTMLImageElement x() and y() getters
These attributes get the image's top left border edge relative to the root element's origin. These methods ignore any transforms.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
52781cc2fd
commit
79a427e1ef
Notes:
github-actions[bot]
2026-01-10 23:34:04 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/79a427e1ef9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7408 Reviewed-by: https://github.com/gmta ✅
@@ -47,7 +47,7 @@ interface HTMLImageElement : HTMLElement {
|
||||
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlimageelement-interface
|
||||
[FIXME] readonly attribute long x;
|
||||
[FIXME] readonly attribute long y;
|
||||
readonly attribute long x;
|
||||
readonly attribute long y;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user