Bug 18557
| Summary: | Web Inspector Does Not Honour Transforms when Highlighting | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dean Jackson <dino> |
| Component: | Web Inspector (Deprecated) | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | aroben, dino, simon.fraser, timothy |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Dean Jackson
It seems the (very cool) Web Inspector does not look at the transform when drawing an element highlight.
I have an experimental solution via an absoluteBoundingBoxRectWithTransforms method, and have that called by WebCore/bindings/objc/DOM.mm and InspectorController::drawNodeHighlight
However, this doesn't work for text runs within transformed elements.
I'm sure you'll come up with a better solution anyway :)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dean Jackson
<rdar://problem/5853507>
Simon Fraser (smfr)
Fixed by the patch in bug 21942.
Simon Fraser (smfr)
Fixed by the commit for bug 21942.