Summary: | Area element doesn't update region when dynamically altered | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | bz | ||||
Component: | Images | Assignee: | Andreas Kling <kling> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | kling, xavi.rmz | ||||
Priority: | P2 | Keywords: | HTML5 | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
bz
2011-02-17 04:48:04 PST
I've also ran into this problem. Here's a page that reproduces this bug: http://xavi.co/static/image-map-test.html Also here's a link to a chromium bug reporting the same issue: http://code.google.com/p/chromium/issues/detail?id=34530 Created attachment 93764 [details]
Proposed patch
Comment on attachment 93764 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=93764&action=review > LayoutTests/fast/images/script-tests/imagemap-dynamic-area-updates.js:7 > +image.setAttribute('usemap', '#m'); So long since I have used this :-) > LayoutTests/fast/images/script-tests/imagemap-dynamic-area-updates.js:72 > +var successfullyParsed = true; Who sets this to false in case of failure? Is that handled by the wrapper? (In reply to comment #3) > > LayoutTests/fast/images/script-tests/imagemap-dynamic-area-updates.js:72 > > +var successfullyParsed = true; > > Who sets this to false in case of failure? Is that handled by the wrapper? Indeed! finishJSTest() in js-test-pre.js checks that successfullyParsed is true. Comment on attachment 93764 [details] Proposed patch Clearing flags on attachment: 93764 Committed r86695: <http://trac.webkit.org/changeset/86695> All reviewed patches have been landed. Closing bug. |