Summary: | MouseEvents need to take into account CSS transforms for correct PageX and PageY | ||
---|---|---|---|
Product: | WebKit | Reporter: | John Knottenbelt <jknotten> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | fsamuel, simon.fraser |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 68075 |
Description
John Knottenbelt
2011-09-23 10:27:36 PDT
Please also see https://bugs.webkit.org/show_bug.cgi?id=67592 Why is the HTML element special? I don't think a transform on the HTML element should affect pageX/pageY. Simon, I think that makes sense to me. If I understand correctly, we can mark this bug as invalid: A css transform on the HTML element is no different to a css transform on any other content element, for example a <div>. We wouldn't expect a css transform on a <div> to affect the PageX and PageY mouse coordinates, and similarly the html element is no exception. A transform on the HTML element changes the coordinates of the top left corner of the HTML element, but not the document itself. PageX and PageY coordinates are relative to the top-left corner of the document. Sounds good. |