| Summary: | [GTK] Implement sizes attribute for link tag | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | William Jon McCann <william.jon.mccann> | ||||||
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bugzilla, cgarcia, csaavedra, darin, gustavo, pnormand | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | 37674, 138411 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
William Jon McCann
2013-12-16 05:27:55 PST
Created attachment 241014 [details]
Patch
This depends on bug #138411, that added the support for custom unstable API. Created attachment 241421 [details]
Rebased patch
It should apply now
Comment on attachment 241421 [details] Rebased patch View in context: https://bugs.webkit.org/attachment.cgi?id=241421&action=review > Source/WebCore/bindings/js/JSHTMLLinkElementCustom.cpp:-43 > -JSValue JSHTMLLinkElement::sizes(ExecState* exec) const > -{ > - return toJS(exec, globalObject(), impl().sizes()); > -} > - Why are you removing the custom getter? (In reply to comment #4) > Comment on attachment 241421 [details] > Rebased patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=241421&action=review > > > Source/WebCore/bindings/js/JSHTMLLinkElementCustom.cpp:-43 > > -JSValue JSHTMLLinkElement::sizes(ExecState* exec) const > > -{ > > - return toJS(exec, globalObject(), impl().sizes()); > > -} > > - > > Why are you removing the custom getter? Because it's not needed. See https://bugs.webkit.org/show_bug.cgi?id=37674#c30 (In reply to comment #5) > (In reply to comment #4) > > Comment on attachment 241421 [details] > > Rebased patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=241421&action=review > > > > > Source/WebCore/bindings/js/JSHTMLLinkElementCustom.cpp:-43 > > > -JSValue JSHTMLLinkElement::sizes(ExecState* exec) const > > > -{ > > > - return toJS(exec, globalObject(), impl().sizes()); > > > -} > > > - > > > > Why are you removing the custom getter? > > Because it's not needed. See > https://bugs.webkit.org/show_bug.cgi?id=37674#c30 Note that I also changed the idl, so that the getter is auto-generated, so it's not that I've removed it, but that now it's auto-generated. Comment on attachment 241421 [details] Rebased patch View in context: https://bugs.webkit.org/attachment.cgi?id=241421&action=review >>>> Source/WebCore/bindings/js/JSHTMLLinkElementCustom.cpp:-43 >>>> - >>> >>> Why are you removing the custom getter? >> >> Because it's not needed. See https://bugs.webkit.org/show_bug.cgi?id=37674#c30 > > Note that I also changed the idl, so that the getter is auto-generated, so it's not that I've removed it, but that now it's auto-generated. Thanks for the information. Do you mind leaving a short note about this in the ChangeLog? (In reply to comment #7) > Comment on attachment 241421 [details] > Rebased patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=241421&action=review > > >>>> Source/WebCore/bindings/js/JSHTMLLinkElementCustom.cpp:-43 > >>>> - > >>> > >>> Why are you removing the custom getter? > >> > >> Because it's not needed. See https://bugs.webkit.org/show_bug.cgi?id=37674#c30 > > > > Note that I also changed the idl, so that the getter is auto-generated, so it's not that I've removed it, but that now it's auto-generated. > > Thanks for the information. Do you mind leaving a short note about this in > the ChangeLog? Sure, thanks! Committed r177143: <http://trac.webkit.org/changeset/177143> |