Bug 201404 - -webkit-text-size-adjust not working on iPad running iOS 13
Summary: -webkit-text-size-adjust not working on iPad running iOS 13
Status: RESOLVED DUPLICATE of bug 212122
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 12
Hardware: iPhone / iPad Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, PlatformOnly
: 205116 207343 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-02 10:20 PDT by lzuanovic
Modified: 2020-05-20 12:14 PDT (History)
11 users (show)

See Also:


Attachments
iPad - iPhone differences (141.03 KB, image/png)
2019-09-02 10:20 PDT, lzuanovic
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lzuanovic 2019-09-02 10:20:00 PDT
Created attachment 377856 [details]
iPad - iPhone differences

OS: iOS/iPadOS 13/13.1
Device: iPad only

This happens on iPads running i(Pad)OS 13/13.1 only.

For example:


<!DOCTYPE html>
        <html>
            <body>
                <div style="-webkit-text-size-adjust: 56.2962293624878%;">
                    Sample text sample text sample text
                </div>
                <div style="-webkit-text-size-adjust: 156.2962293624878%;">
                    Sample text sample text sample text
                </div>
                <div style="-webkit-text-size-adjust: 356.2962293624878%;">
                    Sample text sample text sample text
                </div>
            </body>
        </html>

Will be rendered without any style changes on iPad and with style applied on iPhone, both running iOS 13. See attached images for example. 
I'm using a basic WKWebView with the HTML above loaded using loadHTMLString:baseURL: method.
Comment 1 hbourcier 2019-11-22 07:05:45 PST
This bug is still in effect on iPad OS 13.3.
Comment 2 Frank 2019-12-11 08:13:54 PST
Yes, verified, "webkitTextSizeAdjust" doesn't work on iOS 13.3
Comment 3 ecaprile 2020-02-06 10:27:07 PST
Hi All,

Is there any update for this bug i have the same issue at version iPAD (5th generation)
Model: MP2G2CL/A
Serial Number: GCTV975EHLFC
Software version: 12.2

https://vlocity.zoom.us/recording/share/JHF3TZjZShW3SUmUgRSCpyXhuggSPv3hwTpKgGjjFIWwIumekTziMw

We tried to apply the following solutions without success:

https://stackoverflow.com/questions/46526636/ipad-and-options-font-size-in-select/46540218

https://stackoverflow.com/questions/2710764/preserve-html-font-size-when-iphone-orientation-changes-from-portrait-to-landsca

https://stackoverflow.com/questions/6210788/how-to-avoid-ios-automatic-font-size-adjustment

Is there any ETA for this to be fixed?

Thanks

Eduardo
Comment 4 Alexey Proskuryakov 2020-02-08 13:35:52 PST
*** Bug 205116 has been marked as a duplicate of this bug. ***
Comment 5 Alexey Proskuryakov 2020-02-08 13:36:12 PST
*** Bug 207343 has been marked as a duplicate of this bug. ***
Comment 6 Alexey Proskuryakov 2020-02-08 13:36:37 PST
<rdar://problem/57851534>
Comment 7 Alexey Proskuryakov 2020-02-08 13:37:17 PST
<rdar://problem/54560875>
Comment 8 ecaprile 2020-02-26 04:57:58 PST
Hi All

Is there an estimate ETA solution for this?

Thanks

Eduardo
Comment 9 Lee Robertson 2020-02-27 14:21:04 PST
I am having an issue using CSS Zoom on iPad OS (bugs.webkit.org/show_bug.cgi?id=206550). I feel that our issues are possibly related.

The zoom property works just fine on Iphone and Mac, iPad has been the only effected device.
Comment 10 ecaprile 2020-02-28 09:07:09 PST
Hi all,

Do you know what else apart from webkitTextSizeAdjust can be used to fix this issue?

Regards,
Comment 11 lzuanovic 2020-03-02 05:34:04 PST
(In reply to ecaprile from comment #10)
> Hi all,
> 
> Do you know what else apart from webkitTextSizeAdjust can be used to fix
> this issue?
> 
> Regards,

You can directly manipulate fontSize style property of HTML elements. It would require parsing the existing font sizes and adjusting them for the desired scaling factor. Not sure if anyone should do this if this bug is to be fixed soon...
Comment 12 Travis 2020-04-12 23:22:48 PDT
This is still an issue in iPadOS 13.4.1 on iPad and iPad mini with Safari and in a WkWebView. Is there an estimate or any update on the status of this issue?
Comment 13 Myles C. Maxfield 2020-05-20 12:14:13 PDT
I'm working on this in https://bugs.webkit.org/show_bug.cgi?id=212122

*** This bug has been marked as a duplicate of bug 212122 ***