commit | ae02ca7ca2681a07dbcde624e91d38cae61dbead | [log] [tgz] |
---|---|---|
author | Mark Cogan <marq@google.com> | Tue Jul 02 14:34:53 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 02 14:34:53 2019 |
tree | 9cef3979fca5ed9d9cf465e49bdfade7f14bf4bf | |
parent | 20f636817338c10fcee7f62e8f61074109bbfced [diff] |
[iOS] [iOS13] Fix assumptions in UILabelAttributeUtilsTest This CL fixes an assumption about UILabel's behavior that the test was defining as correct. Instead of assuming that a label's line height will reset to 0 if its text changes, the test now just checks that setting the label's line height manually won't be overridden when there are no longer observers. Various comments are also added to indicate that there is no guarantee of what happens when a label stops being observed; it's now OS-version dependent. Bug: 978178 Change-Id: Ifa523d1e5cb8eecfbad5ac0a9d56e5d9c55a441d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1683268 Commit-Queue: Mark Cogan <marq@chromium.org> Reviewed-by: Robbie Gibson <rkgibson@google.com> Cr-Commit-Position: refs/heads/master@{#674045}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .