Bug 233332

Summary: Dynamic type does not resize unless the page is reloaded
Product: WebKit Reporter: Liam DeBeasi <ldebeasi>
Component: AccessibilityAssignee: Myles C. Maxfield <mmaxfield>
Status: NEW ---    
Severity: Normal CC: andresg_22, mmaxfield, rik, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Code reproduction none

Description Liam DeBeasi 2021-11-18 13:16:33 PST
Created attachment 444723 [details]
Code reproduction

When increasing the font size using the accessibility settings on iOS, the font size on a webpage using dynamic type does not change unless there is a full page reload.

Steps to reproduce:

1. Open attached code reproduction on an iOS device.
2. Go to Settings > Accessibility > Display & Text Size > Larger Text.
3. Increase the font size.
4. Return to the browser.
5. Observe that the font size does not change.
6. Refresh the page.
7. Observe that the font size has changed.

Expected Behavior:

I would expect the text to scale without a full page reload.

Actual Behavior:

The text does not scale unless I perform a full page reload.

Other information:

- I can reproduce this on the iOS 15.2 developer beta
Comment 1 Radar WebKit Bug Importer 2021-11-18 13:16:51 PST
<rdar://problem/85565059>