Summary: | Style's "altText" field (webkit-alt property) is not properly managed. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Javier Fernandez <jfernandez> | ||||
Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | cfleizach, darin, jdiggs, jfernandez, syoichi, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 133359 | ||||||
Attachments: |
|
Description
Javier Fernandez
2014-08-27 10:02:40 PDT
Created attachment 237230 [details]
Proposed patch.
Chris, since the -webkit-alt property was originally added by your patch for bug #120188 , I'd appreciate your opinion on this issue. Thanks. Comment on attachment 237230 [details]
Proposed patch.
this looks good to me
Test can be cross platform, should be easy to transition to that. Might be good to include that test change in this patch too
Thanks!
Comment on attachment 237230 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=237230&action=review > Source/WebCore/rendering/style/ContentData.h:104 > + std::unique_ptr<ContentData> image = std::make_unique<ImageContentData>(m_image.get()); Local variable type should be ImageContentData, not ContentData. I suggest using auto to get that right. (In reply to comment #0) > So, I'd like to use this bug to define a new cross-platform test. I don’t think we need to tie the bug fix to the cross-platform test, but we do want both! A good test would cover both of the code changes, not just one. In other words, we want a test that would fail if either of the changes would be omitted, possibly two tests. (In reply to comment #7) > A good test would cover both of the code changes, not just one. In other words, we want a test that would fail if either of the changes would be omitted, possibly two tests. Right. We should probably have a new test just to cover this. Then a new bug to make the tests cross platform. Thanks Darin (In reply to comment #8) > (In reply to comment #7) > > A good test would cover both of the code changes, not just one. In other words, we want a test that would fail if either of the changes would be omitted, possibly two tests. Agree. > > Right. We should probably have a new test just to cover this. Then a new bug to make the tests cross platform. Thanks Darin Filed bug #136300 for that. |