WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
54260
HTML5 <details> and <summary>: localized text
https://bugs.webkit.org/show_bug.cgi?id=54260
Summary
HTML5 <details> and <summary>: localized text
Luiz Agostini
Reported
2011-02-10 17:27:18 PST
Specification says that if no <summary> is supplied to a <details> tag then "the user agent should provide its own legend". This text must be localized. see
http://www.w3.org/TR/html5/interactive-elements.html#the-details-element
Attachments
patch
(23.54 KB, patch)
2011-02-10 17:59 PST
,
Luiz Agostini
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Luiz Agostini
Comment 1
2011-02-10 17:59:38 PST
Created
attachment 82083
[details]
patch
Adam Roben (:aroben)
Comment 2
2011-02-16 08:40:42 PST
Comment on
attachment 82083
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=82083&action=review
You should also run Tools/Scripts/update-webkit-localizable-strings to update the Localizable.strings file used by the Mac and Windows ports.
> Source/WebCore/ChangeLog:9 > + The method summaryDefaultLabel was added to LocalizationStrategy class and to > + platform/LocalizedStrings. It is used to provide the default label to be used by a
The name "summaryDefaultLabel" to me sounds like it is "the default label used for a <summary> element". Clearly that is wrong. I also think that "label" is mostly (only?) used to refer to the text inside (or associated with) a button. So maybe "defaultDetailsSummaryText" would be clearer?
> Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h:61 > virtual String fileButtonNoFileSelectedLabel(); > + virtual WTF::String summaryDefaultLabel();
Please omit "WTF::" here to match the other functions.
Luiz Agostini
Comment 3
2011-02-17 10:12:49 PST
Committed
r78842
: <
http://trac.webkit.org/changeset/78842
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug