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-

Chang Shu
Reported 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.
Attachments
Proposed Patch (7.29 KB, patch)
2012-02-08 02:21 PST, Parag Radke
cshu: review-
cshu: commit-queue-
Simon Fraser (smfr)
Comment 2 2011-10-18 11:31:26 PDT
See also bug 56543.
Parag Radke
Comment 4 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
Simon Fraser (smfr)
Comment 5 2012-02-08 02:29:20 PST
How can you fix this before bug 56543 is resolved?
Alexis Menard (darktears)
Comment 6 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.
Chang Shu
Comment 7 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.
Note You need to log in before you can comment on or make changes to this bug.