DescriptionAccording to CSSOM-View, interface HTMLImageElement,
The x attribute must return the x-coordinate.
If style is not updated when x() is called, it can't return anything.
Style and layout should be done before getting value for x() and y().
The patch was originally written by me <je_julie.kim@samsung.com> in wkrev.com/166833
and the test case was originally written by Alan Stearns<stearns@adobe.com>.
BUG=392094
R=esprehn@chromium.org
TEST=cssom/cssom-view-img-attributes-001.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178011
Patch Set 1 #
Total comments: 2
Messages
Total messages: 14 (0 generated)
|