Changeset 244702 in webkit
- Timestamp:
- Apr 26, 2019, 11:32:41 AM (7 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/page/Settings.yaml (modified) (1 diff)
-
WebCore/rendering/RenderBlockFlow.cpp (modified) (1 diff)
-
WebCore/rendering/TextAutoSizing.cpp (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/Shared/WebPreferences.yaml (modified) (2 diffs)
-
WebKit/UIProcess/WebPreferences.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r244700 r244702 1 2019-04-26 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r244683. 4 https://bugs.webkit.org/show_bug.cgi?id=197320 5 6 Causing crash on iOS Simulator and EWS failures (Requested by 7 sroberts on #webkit). 8 9 Reverted changeset: 10 11 "[iOS] Add internal setting to force -webkit-text-size-adjust 12 to "auto"" 13 https://bugs.webkit.org/show_bug.cgi?id=197275 14 https://trac.webkit.org/changeset/244683 15 1 16 2019-04-26 Youenn Fablet <youenn@apple.com> 2 17 -
trunk/Source/WebCore/page/Settings.yaml
r244683 r244702 445 445 onChange: setNeedsRecalcStyleInAllFrames 446 446 conditional: TEXT_AUTOSIZING 447 forceAutoBehaviorForTextSizeAdjust:448 initial: false449 onChange: setNeedsRecalcStyleInAllFrames450 conditional: TEXT_AUTOSIZING451 447 452 448 subpixelAntialiasedLayerTextEnabled: -
trunk/Source/WebCore/rendering/RenderBlockFlow.cpp
r244683 r244702 3816 3816 } 3817 3817 3818 if (candidateNewSize > specifiedSize && candidateNewSize != fontDescription.computedSize() && text.textNode() && (text.document().settings().forceAutoBehaviorForTextSizeAdjust() || oldStyle.textSizeAdjust().isAuto()))3818 if (candidateNewSize > specifiedSize && candidateNewSize != fontDescription.computedSize() && text.textNode() && oldStyle.textSizeAdjust().isAuto()) 3819 3819 document().textAutoSizing().addTextNode(*text.textNode(), candidateNewSize); 3820 3820 } -
trunk/Source/WebCore/rendering/TextAutoSizing.cpp
r244683 r244702 77 77 for (auto& textNode : m_autoSizedNodes) { 78 78 auto* renderer = textNode->renderer(); 79 if (!renderer || (!textNode->document().settings().forceAutoBehaviorForTextSizeAdjust() && !renderer->style().textSizeAdjust().isAuto()) || !renderer->candidateComputedTextSize())79 if (!renderer || !renderer->style().textSizeAdjust().isAuto() || !renderer->candidateComputedTextSize()) 80 80 nodesForRemoval.append(textNode.get()); 81 81 } -
trunk/Source/WebKit/ChangeLog
r244700 r244702 1 2019-04-26 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r244683. 4 https://bugs.webkit.org/show_bug.cgi?id=197320 5 6 Causing crash on iOS Simulator and EWS failures (Requested by 7 sroberts on #webkit). 8 9 Reverted changeset: 10 11 "[iOS] Add internal setting to force -webkit-text-size-adjust 12 to "auto"" 13 https://bugs.webkit.org/show_bug.cgi?id=197275 14 https://trac.webkit.org/changeset/244683 15 1 16 2019-04-26 Youenn Fablet <youenn@apple.com> 2 17 -
trunk/Source/WebKit/Shared/WebPreferences.yaml
r244683 r244702 433 433 type: bool 434 434 defaultValue: false 435 436 TextAutosizingEnabled: 437 type: bool 438 defaultValue: WebCore::Settings::defaultTextAutosizingEnabled() 439 condition: ENABLE(TEXT_AUTOSIZING) 435 440 436 441 AggressiveTileRetentionEnabled: … … 1646 1651 type: bool 1647 1652 1648 TextAutosizingEnabled:1649 type: bool1650 defaultValue: WebCore::Settings::defaultTextAutosizingEnabled()1651 condition: ENABLE(TEXT_AUTOSIZING)1652 humanReadableName: "Text Autosizing"1653 humanReadableDescription: "Enable text autosizing, which increases text size so as to be more easily read"1654 category: internal1655 1656 ForceAutoBehaviorForTextSizeAdjust:1657 type: bool1658 defaultValue: false1659 condition: ENABLE(TEXT_AUTOSIZING)1660 humanReadableName: "Force text-size-adjust to auto"1661 humanReadableDescription: "Force -webkit-text-size-adjust to behave like auto, which means web authors can't opt-out of text autosizing heuristics"1662 category: internal1663 1664 1653 # Deprecated 1665 1654 -
trunk/Source/WebKit/UIProcess/WebPreferences.h
r244683 r244702 31 31 #include "WebPreferencesDefinitions.h" 32 32 #include "WebPreferencesStore.h" 33 #include <WebCore/Settings.h>34 33 #include <wtf/HashSet.h> 35 34 #include <wtf/RefPtr.h>
Note:
See TracChangeset
for help on using the changeset viewer.