Bug 70342

Summary: Support percentage value for CSS property "-webkit-text-size-adjust"
Product: WebKit Reporter: Chang Shu <cshu>
Component: CSSAssignee: Chang Shu <cshu>
Status: RESOLVED LATER    
Severity: Normal CC: ap, benm, darin, ddkilzer, eoconnor, hyatt, joepeck, kenneth, laszlo.gombos, macpherson, menard, mitz, parag, simon.fraser, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 56543    
Bug Blocks:    
Attachments:
Description Flags
Proposed Patch cshu: review-, cshu: commit-queue-

Description Chang Shu 2011-10-18 11:03:55 PDT
WebKit trunk supports "auto" and "none"  as values for CSS property "-webkit-text-size-adjust". We should extend this to support percentage as it's supported on iOS and it's valuable to all user agents.
Comment 2 Simon Fraser (smfr) 2011-10-18 11:31:26 PDT
See also bug 56543.
Comment 4 Parag Radke 2012-02-08 02:21:11 PST
Created attachment 126034 [details]
Proposed Patch

Patch to support percentage value for CSS property -webkit-text-size-adjust
Comment 5 Simon Fraser (smfr) 2012-02-08 02:29:20 PST
How can you fix this before bug 56543 is resolved?
Comment 6 Alexis Menard (darktears) 2012-02-08 03:47:58 PST
Comment on attachment 126034 [details]
Proposed Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=126034&action=review

> Source/WebCore/css/CSSParser.cpp:1993
> +                addProperty(CSSPropertyFontSize, createPrimitiveNumericValue(value), true);

Regardless what simon said, I don't see why you enforced the important parameter of addProperty.
Comment 7 Chang Shu 2012-02-13 01:48:35 PST
Comment on attachment 126034 [details]
Proposed Patch

Thanks for the patch. But I guess we want to hold off the implementation based on the comments from Simon.